LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems whith rs232 comunication

hi,
I'm a new programer whith labview and i have problems whith rs232
omunications, in my VI i need to receibe 24 Bytes, i do, but sometimes
i receibe repeat bytes and the comunication is not correct, another
time the program don't receibe anything. Please help me

thank's
0 Kudos
Message 1 of 2
(1,733 Views)
Hello,
I recommend using VISA to communicate since it is easier. If you are using LabVIEW 6i then open up a new vi and go to Help\Examples\I/O Interfaces\Serial Communication. There are several examples there that will help you get started. LabVIEW<->Serial is a good example if you either want to read or write and it allows you to specify the number of bytes read. Serial Communication is the example that I would use if you want to write and read. These will hopefully help you get started. If you have any questions, you can request either phone or email support at:
http://sine.ni.com/apps/we/niae_asc.main

Kim L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(1,733 Views)