05-28-2009 01:46 PM
I am trying to communicate with a device via the serial port. In MAX, I configured the port (28800, 8, N, 2, RTS/CTS). In the test panel I can send an identification query (ID? \r) and get a response. If I try this through a LabView VI, where I open a VISA session, set the COM port parameters and then try the ID query, I don't get a response.
I also noticed that if I try the ID query in MAX, but use a USB-serial adapter, I don't get any response.
I'm sure I'm missing some simple nuace of serial communications. Any thoughts?
Thanks.
Solved! Go to Solution.
05-28-2009 01:58 PM
In LabVIEW, my guess is that you are not correctly sending the \r. In order to do this, you need to have the string control/constant set for '\' Codes Display. If you had posted your code, it would have helped to see if that or something else is wrong. Did you try one of the example programs before trying to write your own?
I've never had a problem using a USB-RS232 adapter. Is the new port actually listed in MAX and can you use Hyperterminal with it?
05-28-2009 02:02 PM
05-28-2009 02:29 PM
05-28-2009 02:32 PM
05-29-2009 10:15 AM