Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference in using VISA Write and using Write in VISA Test Panel

I am trying to communicate with a Lamdba-Nu TL-401USB Temperature Logger, that is connected to my computer via USB. I am trying to write a Labview Program to collect data using Labview 8.5. I am able to send the command "@b\n\r" to get the device to start recording data using the VISA Test Panel through Measurement & Automation Explorer. However, if I try to send the same command in a Labview VI, nothing happens. I am able to send a command "@tx\n\r" which will change the interval that data is taken to x seconds. I am also able to read the temperatures every 3 seconds using the VISA Read command in a timed loop if I had already given the Start recording command through VISA Test Panel. So I can communicate with the device, but I can't start the recording process. Is there a difference in VISA Test Panel compared to VISA Write that may reason for this? I attached the VI and manual for the device.

Download All
0 Kudos
Message 1 of 2
(3,361 Views)

I figured out if I concatenated @b to the end of line string in labview it will work. Why is there a diference? Also, is there a way to delete the post if I found the answer to my question a minute after?

0 Kudos
Message 2 of 2
(3,354 Views)