Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

why I can not get data from rs232 through LABVIEw 6.1->serial commumincations?

Why I can not get data from RS232 through Labview 6.1? I am using the examples in serial commnunication. I can get data through hyperterminal.

Thanks a lot
0 Kudos
Message 1 of 5
(2,930 Views)
Check if the hardware attached to the serial port needs a termination character and which one. Hyperterminal adds a carriage return and (possibly) a line feed at the end of all messages, while LV doesn't unless you explicitly add a '\r' at the end of the string or concatenate the appropriate icon.

Hope this helps a little.
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(2,930 Views)
Thanks for your answer.

How can I send the command under Hyperterminal through LV? I am trying to use these commands to control the equipment.

thanks a million,
0 Kudos
Message 3 of 5
(2,930 Views)
Hello;

That is probably a problem on the format of the data your external device is expecting from Labview. Double check if there is any special termination character that needs to be inserted at the end of every String, and then use the String VIs of Labview to manually include that caracter.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(2,930 Views)
I think you may need to make a custom indicator to analyse the data and find the Carriage return or /r that these guys are talking about. You could use this extract packet sub vi to divide the data up into proper numerical representation and display it properly.
0 Kudos
Message 5 of 5
(2,930 Views)