LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial labview examples

Hi, i'm wanting to talk to an instrument (AERA ROD-4) which uses rs 232c. I have a program that i use in labview to do this, but in general i am having trouble just talking to it. it use this sort of command structure stxKKBBBparameterCR. Has any body got any good examples serial communcation labview programs, or examples of the commands used (any commands just so i have an idea)or any advise in general. Please can any examples be in labview 6.02. any help much appreciated.

Thanks stuart
0 Kudos
Message 1 of 3
(2,468 Views)
Hi
I enclose with this email a Vi which communicates with a device connected on RS232. The main Vi to run is called "write and Read.vi". You have to go first in sub-VI called "Serial Config" to change the parameters of your connection (Data Bits, Baud Rate, Port Number, etc...). The String to write is automatically concatenated with a Carriage Return.
Good luck
Nicolas
0 Kudos
Message 2 of 3
(2,468 Views)
I also want to recommend that you use programs like Windows HyperTerminal to verify the commands you sent to your instrument. If the commands work fine with HyperTerminal, it will also work fine with your LabVIEW vi.
0 Kudos
Message 3 of 3
(2,468 Views)