LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB to serial port

Hi all,

         I am working on a VI to acquire data external to computer. The data is being acquired via the serial port of the computer. When i first built the software in labview , i tried it in my desktop( which had serial port) and it worked fine, i was also able to generate messages in labview and send it serially out.
However now i tried it in my laptop which didnt have serial port. So i bought a USB to serial adapter. I can see the data from the in hyperterminal. But i cant get labview to work with the simulated serial port. Labview doesnt display the readings and gives an error: "unknown system error". I cant figure out why, there must be no mistake in the labview program as it works fine in my desktop, and also no mistake in the data being sent cause i can see it in the hyperterminal window in the proper format.
Please help.
Thank you.

0 Kudos
Message 1 of 5
(3,201 Views)

Just a thought Smiley Happy

Is the right COM port number selected in your code?

0 Kudos
Message 2 of 5
(3,175 Views)
Yes, I checked with the device manager, the USB to serial converter lists the port as COM5, this is also available in the select port lists of the VI.
0 Kudos
Message 3 of 5
(3,164 Views)
R u by anychance using vista in your laptop?
0 Kudos
Message 4 of 5
(3,144 Views)

No, I am using Windows Xp only, however it has started to work today when i again tried, I do not know why!,  but thank you all for your replies, i should have posted my query after testing it thoroughly. My apologies.

 

vinay

 

Message Edited by raybuzz on 07-27-2009 05:58 AM
0 Kudos
Message 5 of 5
(3,132 Views)