Question about output the com port signal

Dear all,
I can successfully change the received signal from COM1 into ASCII, and I can use System.out.print to output the ASCII. However, I cannot output the received signal in the JTextField.
Could anyone help me to solve this problem please?
Thank you so much

May I suggest the setText() method?

Similar Messages

  • Output Signal From a Desktop Flash application to the COM port

    How do I script to connect /send a signal to the COM port of
    the PC from a Desktop Flash application.
    The Signals can be variables such as "1/2/3/4" . The signals
    will be send on a corresponding click in the flash application. For
    eg: if I click button "A" in the Flash application, it sends a
    signal "1" to the COM Port. If I click the Button"B", it send the
    signal"2" to the COM Port.
    Please advise if it can be done directly or through a Third
    Party software.

    maybe this helps:
    http://www.phidgets.com/downloads.php?example_id=27

  • Signal From a Desktop lash application to the COM port

    How do I script to connect /send a signal to the COM port of
    the PC from a Desktop Flash application.
    The Signals can be variables such as "1/2/3/4" . The signals
    will be send on a corresponding click in the flash application. For
    eg: if I click button "A" in the Flash application, it sends a
    signal "1" to the COM Port. If I click the Button"B", it send the
    signal"2" to the COM Port.
    Please advise if it can be done directly or through a Third
    Party software.

    maybe this helps:
    http://www.phidgets.com/downloads.php?example_id=27

  • Can the Com port on the EX90 be connecting to an AMX NI700 to receive command?

    if so, what are the pinouts for the EX90? (TX/RX/GND) The AMX uses pin 3 for TX, Pin 2 for RX and Pin 5 for GND. I have been using an RJ45 cable and trying to match pins but I am still not getting a TX signal. Also, does the COM port need to be enabled?

    The EX90 is not really build to be controlled by an additional control system.
    (in general thats a thing for the integrator prodcucts).
    The Serial port is not a RS232 (+/-25 Volt), instead of their using TTL level.
    So a direct connection without a proper cable might cause a hardware fault!
    I think the serial port was on by default, but that might have changed on the current software versions, thats what works fine for me:
    xconf // serial
    *c xConfiguration SerialPort BaudRate: 38400
    *c xConfiguration SerialPort LoginRequired: Off
    *c xConfiguration SerialPort Mode: On
    The serial port is also on the bottom of the device, its ok to use it if you need to
    troubleshoot boot issues, but besides that not really usable.
    Dont expect Cisco to do any support for this if you run in to strange behavior when
    controling the system with a 3rd party control.
    Btw, what I would strongly recommenced is to use the telnet/ssh cli or http(s) API.
    could picture that this might work with the AMX700, so why even think of using a serial port, ...

  • Communicating via the Com port (comm)

    Hi Folks,
    I'm trying to communicate to the com port on my device but apparently can't "see" any available com ports.
    Actually I'm trying to communicate via the Infrared port on my device and have been able to do so on a Nokia using COM0, however, on an Orange SPV, no ports are available. I'm using the Connector class from GCF.
    I've used
    System.getProperty("microedition.commports")
    and on the Nokia get a load of ports back, however, on the other device I get back null. The device does have a IrDA port so I feel like I should be able to access it, I just don't know how.
    I wondered if there is other ways to get hold of a port?
    Reading http://developers.sun.com/mobility/midp/questions/properties/index.html it implies that the above property is implementation specific, does that mean Midlet Manager implementation specific (the SPV device uses Intent Java).
    Thanks for any suggestions or any tips / links on IrDA / serial communication with ME :)
    Cheers,
    Toby

    Start with the NI modbus library.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/201​711
    Or download portmon and use it to watch the data as modscan is working. Then use VISA and serial port commands to transfer data bytes until it matches what modscan is transmitting. You'll learn more doing it this way.
    Also download the modbus protocol pdf file.
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=197677&query.id=96682#M197677
    Message Edited by unclebump on 03-10-2008 06:04 PM

  • Using VISA and RS232 devise , loosing the COM port .

    Using VISA and R232 devise communicating fine with labview and I can  Read and Write.
    however, I want to turn OFF the devise, then turn it ON again (part of the test), and be able to continue .
    The COM port is not communicating . unless I turn both the devise off  and Exit  LV then restart again.
    How to do that without restarting LV.
    thanks

    " Is there a better way to make sure its closed and driver is not hanging onto the connection? "
    you could try a command like " devcon disable usb\vid_0CD5*0003~" and then "devcon enable usb\vid_0CD5*0003~"
    ( you will need to figure out the ID of your device, my example is for a LabJack U3. )
    Get the devcon.exe-utility from microsoft.
    but as mentioned before, just watch what happens with device Manager (' run devmgmt.msc')...
    to enable/disable a device in a VBS script you can use below example,   (As Administrator!)
    Option explicit
    Dim oShell
    set oShell= Wscript.CreateObject("WScript.Shell")
    oShell.Run "RunAs /user:Domain\USER ""cmd"
    WScript.Sleep 100
    oShell.Sendkeys "USERPASSW"
    WScript.Sleep 500
    oShell.Sendkeys "devcon disable usb\vid_0CD5*0003~"
    WScript.Sleep 1000
    WScript.Sleep 100
    oShell.Sendkeys "devcon enable usb\vid_0CD5*0003~"
    WScript.Sleep 1000
    oShell.Sendkeys "exit~"
    Wscript.Quit
    My reason for doing it this way is that my USB device didn't respond to any of my calls from Labview. Enable/Disable solved the issue...
    The thing I particularly hate about above VBS-script is that I need to send the Admin password in plain text...

  • Output to com port

    hi,
    pls i'll like to know how i can get my program to sent bytes to the com port of my computer system. I suppose there should be something in the java.io package

    Nope !! there is no option in java.io package.
    You have a package by name javax.comm which will let you to read/write data to any desired port.
    Download it from sun's site along with the required .dll file.
    Hope this helps !!

  • How to close the COM Port ??????????

    Dear all :
    I have written an application that send AT commands to a modem , Once I opened a com port , i don't know how to close it . I got the null pointer exception when i create a new channel , because the inputStream and outputStream is owned by the previous channel . So , some one can teach me how to close the com port that opened before ?
    my source code for open port :
    public void Connect_Com(CommPortIdentifier portId) {
    Integer i = new Integer((int) (Math.random()* 1000));
    String channel = "channel" + i.toString();
    System.out.println(channel);
    try {
    System.out.println("preparing to open port");
    serialPort = (SerialPort) portId.open(channel, 2000);
    } catch (PortInUseException e) {}
    try {
    inputStream = serialPort.getInputStream();
    System.out.println("getting inputStream");
              } catch (IOException e) {}
    try {
    serialPort.addEventListener(this);
              } catch (TooManyListenersException e) {}
    serialPort.notifyOnDataAvailable(true);
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {}

    serialPort.close() ?
    From the documentation of SerialPort:
    - SerialPort extends CommPort.
    - CommPort.close() closes the communications port.

  • Using VISA can not find the com port

    I use visa read but can't find any com port in Windows 7.
    How can i find the com port in Windows 7?? 
    由 jw2002 在 06-28-2009 09:20 AM
    上編輯的訊息
    由 jw2002 在 06-28-2009 09:20 AM
    上編輯的訊息
    Solved!
    Go to Solution.

    Windows 7 is not officially supported by National Instruments as it hasn't even been released. That means you won't get any official support from NI on this.
    That said, does your computer actually recognize a serial port? Do you have an actual serial port, or do you have some sort of virtual COM port, or are you using some sort of adapter, such as a USB to serial port box? If it's any of the latter, the most likely reason is a driver issue which needs to be written to be compatible with Windows 7. 

  • 3560 and 3750 - Question about 10/100/1000 ports

    I am researching several Cisco products to recommend to a customer. I was wondering if the 10/100/1000 ports at a 3560 switch, will provide gigabit bandwith on each port or if the bandwidth is shared among several ports. The latter is how a 48 port 10/100/1000 line card would behave on a Cisco 4500 when, depending on the card, the gigabit bandwidth will be shared among 4 or 6 ports at a time.
    What about 10/100/1000 ports on a 3750?
    Thanks

    The new Catalyst switches/modules such as the Catalyst 6500/6000, 4500/4000, 3550, and 2950 support 10/100/1000 Mbps negotiated Ethernet interfaces or ports. These ports work on 10Mbps, 100Mbps, or 1000 Mbps speed based on their connection to the other end. These 10/100/1000Mbps ports can be configured for speed and duplex negotiation in the same way as 10/100 Mbps ports on CatOS or Cisco IOS Software-based switches. Therefore, the configurations given in this document for 10/100Mbps port negotiation applies to 10/100/1000Mbps ports as well.
    http://www.cisco.com/en/US/tech/tk389/tk214/technologies_tech_note09186a0080094781.shtml

  • Question about how the Robocopy /B switch works...

    I've been experimenting with robocopy recently, and most switches seem self explanatory for the most part; although I have a question about the /B switch.
    The help says the following:
    /B :: copy files in Backup mode.
    I've checked multiple forums and websites to try and elaborate on this a little more, and from my understanding this switch enables backup mode that essentially gives the ability to change the acls of a file/folder when the account running robocopy does
    not have sufficient privileges, to perform a successful copy.
    My question is, when the acls are changed when using this "backup mode" switch, with the /copyall switch, will the file still retain the same user access that it originally had - or does it change all of the security settings?
    I'm hoping it will somehow change the security settings, create a copy, and retain the same acls as the original - so users can still access necessary files.
    Can someone please explain how this "backup mode" works?
    Thanks in advance.

    This is a very useful thread with a lot of hostility in it.
    I have to agree with Jonathan and hazymat: there are few other forums that will discuss the exact function of /b switch, the TechNet article just says "copies in Backup Mode" (I have the article bookmarked), and when doing a google search, THIS page comes
    up as the top result! Kinda difficult to tell people they should go search, when you are the exact destination of that search, isn't it? ;)
    No offense to anybody working hard to help out here, but this is why sites like Stack Exchange will overshadow every traditional tech forum very soon. More concise question/answer format, more civil, and they actually encourage old questions developing new
    answers! All q&a is cataloged for future reference. Their focus is on being a 'resource'.
    The negativity here is unfortunate, you guys have great potential to be a very helpful resource for people. Who are you trying to be, the guys with all the answers, or the guys who say "get out of here, your answer isn't in here. Go search for it."?
    Regardless, many thanks to jrv! for helping me with my robocopy batch SCRIPT which I just used to create an automated backup! Take care boys. And yes, I just bumped your old-old thread.
    Unfortunately I think you miss the point.  RoboCopy is an application.  It is not a script.  This is a scripting forum.  Many people come here nd never read the forum guidelines and do not ask script related questions.
    The /b switch is documented in RoboCopy help.  Of course it assumes the reader is a trained Windows tech and knows what backup mode is.  It is used by nearly all backup software when backing up a live system..
    ¯\_(ツ)_/¯

  • Need to ask a question about getting the iPhone 5 without an upgrade available.

    Alright so I have currently an iPhone 4S and do NOT have an upgrade available. My question is how do i go about buying the 5 then? From what I know, Apple sells "unlocked" phones at around $750 (I want the 32gig version) but wont come out on launch day. Is there a Verizon specific phone that I can get instead of an "unlocked" phone that would cost cheaper and I can get it on launch day? Or do I have to preorder it through verizon's website?
    Another thing is...is there certain fee's that I would have to pay to go along with the phone if I can buy it?

    Pernoe: I'm no expert, but this is the way I understand unlocked phones. Unlocked phones that use GSM technology can work on either T-Mobile or AT&T networks. Unlocked phones that use CDMA technology can work on either Sprint or Verizon networks. I can't tell you the difference between GSM and CDMA... I just don't really know what it is, just that AT&T and T-Mobile use GSM and Sprint and Verizon use CDMA.
    That being said, I purchased (or at least ordered... my credit card has not been charged yet) 2 iPhone 5's from Verizon and opted to pay full price instead of taking the contract discount. You don't need to buy an unlocked phone to pay full price. You just have to select "month-to-month" pricing instead of "2 year contract" pricing when you buy the phone.

  • Questions about flashing the bios

    Hi everyone. I have a few questions about the process involved in a bios update.
    First, I should tell you I have a Lenovo G470 that sometimes has problems booting.
    The problem is I turn on the laptop and after 2-3 seconds it shuts down. I see the logo, and nothing else. After that I can spend hours trying to turn it on again, and keeps failing. After some time, I turn it on and use it without problems.
    Before these problems, I had experienced similar troubles, but I could fix it (in my way) and I explained it in this post: http://forums.lenovo.com/t5/Lenovo-3000-and-Essential/Lenovo-g470-shutdown-problems-in-intervals-of-...
    Ok, In that post a reply says that a possible solution could be a Bios update. So, I've been thinking to flash the bios to solve my actual problem, but I would like to ask you some questions:
    1. Updating the bios could be a solution for this case?
    2. How long does it take to update a lenovo G470 bios? (I ask this because I read that if a problem occurs in the middle the damage can be serious, and in the past I had these random shutdowns, so I'm a bit afraid)
    3. How am I sure if my bios is or not updated? (there's a way to check this from windows?)
    4. Finally, if you could give me a link to download the correct bios update I'll thank you.
    I think that's all. I apologize for my basic english and hope you could give me some clues on this, because, as you see, I'm a total newbie.
    Thanks!

    hi alemaneitor,
    Regarding your questions:
    1. Yes, flashing the BIOS may help solve your problem as it will re-write the configurations on the CMOS. Take note though of the changelogs or README (repair changes) as the latest BIOS updates fixes critical issues on the hardware.
    I've also seen some units that act the same as yours and doing a gpu reflow most of the time fixes the issue - see this thread in reference.
    2. In flashing the BIOS outside of Windows, it takes less than a minute. If you need to run the BIOS flash utility inside Windows, it may take 1-2mins.
    3. If there's a new BIOS that fixes critical issues, it's most of the time uploaded on the lenovo website (in some cases, BIOS updates are not available to the public and can only be used by service technicians)
    4. The latest BIOS update for the Lenovo G470 is the one below that fixes an issue on units that can not enter BIOS after restart under compatible HDD mode (see README.TXT)
    BIOS Update for 32bit Windows
    40cn33ww_32.exe
    3.28MB
    BIOS Update for 64bit Windows
    40cn33ww_64.exe
    3.67MB
    Regards,
    neokenchi
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • K8N Neo2 question about overclocking and sata ports 1 & 2

    Hi guys,
    I know that when overclocking, sata ports 1 & 2 cannot be locked like sata ports 3 & 4, and therefore hard drives on ports 1 & 2 can be corrupted.  However, I would like to understand what is failing when the unlocked ports get overclocked.  Is it the motherboard that makes mistakes or is it the drive?  Since the ports on the K8N Neo2 are Sata 150 (correct me if i'm wrong), would buying a sata 300 drive be able to survive overclocking?  Also, I would like to know the effect of overclocked sata ports on dvd burners as opposed to hard drives.  I am looking to buy two new Dvd drives/burners for this board and I would like to avoid buying IDE again.
    So, can anyone answer the above questions in detail?
    Thanks,
    Steven

    Quote from: SteveH647 on 24-September-09, 04:39:34
    But is it the HDD itself that fails at the higher frequency?  Or is it the HDD controller on the motherboard that fails?  What about DVD drives?  And what if the HDD is SATA 300 instead of SATA 150?
    Quote
    But is it the HDD itself that fails at the higher frequency?
    Yes.
    Quote
    Or is it the HDD controller on the motherboard that fails?
    No
    Quote
    What about DVD drives?
    Can't tell you, haven't maked such experiments.
    Quote
    And what if the HDD is SATA 300 instead of SATA 150?
    It will not change anything.

  • Questions about using the Voice Memos app

    I'm currently an Android user, but will be getting an iPhone 6 soon. My most used app is the voice memos app on my Android phone. I have a couple questions about the iPhone's built-in voice memos app.
    -Am I able to transfer my voice memos from my Android phone to my iPhone, so my recordings from my Android app will show up in the iPhone's voice memos app?
    -When exporting voice memos from the iPhone to computer, are recordings in MP3 format? If not, what format are they in?
    -In your opinion, how is the recording quality of the voice memos app?

    You cannot import your Android voice memos to your iPhone's voice memo app.  You might be able to play the Android memos and have the iPhone pick up the audio and record it.
    Here is the writeup about sending voice memos from the iPhone to your computer (from the iPhone User Guide):
    App quality is excellent.

Maybe you are looking for

  • Viewing application windows in full size on a macbook pro

    I connect my macbook pro to a 23 inch screen in my office. When not connected to this external screen, I find that one of my windows in Interface Builder is longer than the vertical length of my 17" macbook screen. How do I scan down to see the botto

  • Dead hard drive only place songs exist is on ipod

    hello my kids imac hard drive abruptly died. i took it to an apple cert repair center, the data could not be recovered. silly me for not getting them a back up drive too, thier data matters to them just like mine does to me. my 11 year old cried when

  • IDoc-Tunneling -- No Receiver Agreement

    Hi, i am trying to do the IDoc-Tunneling scenario from Michal. Well everything looks fine so far except that i get following error: +<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mu

  • Mass quality plan Assign

    If  i done  GR against production order  system not assigned automatic  qualityplan because  in by default system show usage is 5 but  GR against Production order  Usage is 1 we have to change  5 to 1 then  assign specification,so each and every fini

  • How to fetch the Reqd. Quan & Result Quan for a Z-report w.r.t. tcode CS15

    Hi Group, I have a requirement to develop a Z-report depending on the o/p of the tcode CS15. The result should be same as that of the CS15 with the a few additions: (1)Providing option to accept multiple Materilal Numbers (2)Filtering out the selecti