LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 7 vi to emulate measure??

Does anyone have a vi to emulate the functionality between the MEASURE program and EXCEL?? In the MEASURE program, when you wanted to perform a capture task, you could transmit a command string at the same time as reading the data result. The VISA vi to read serial data does not give you this option. Will I have to convert the capture task into a write VISA vi followed by a read VISA vi?? I am also having some trouble with the space character when transmitting data.
0 Kudos
Message 1 of 2
(2,555 Views)
I'm not familiar with this 'measure' program, but to send a serial command and read back a result you do indeed need to use a VISA Write followed by a VISA Read. Depending on how the data you are expecting back is formatted, you may want to read a fixed number of characters, to make use of VISA's termination character property, or to insert a delay between writing and reading.

You'll need to give more explanation of your 'trouble with the space character' in order for anyone to offer constructive advice...
0 Kudos
Message 2 of 2
(2,555 Views)