Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5695

VISA STB with different USB-GPIB interfaces

$
0
0

Hello,

I am working with an Agilent 4294 impedance analyser controlled with LabVIEW. The LabVIEW VI I am using has been written by someone who left the group some years ago, but I think it's based on an example provided. Ever since I'm using the device it didn't get the data from the very first measurement after turning it on, it got stuck somewhere in a loop. Stopping and restarting always solved that problem.

 

Now we had to change USB-GPIB adaptors. Before I was using a NI HS interface, not it's an Agilent 82357B. I can communicate with the instrument, start measurements and manually get the data. In the LabVIEW routine it gets stuck though.

I tried to find the error and found out that the VISA STB in the "wait for opc.vi" sends different results depending on the USB-GPIB adaptor. With the Agilent one it stays zero until at some point the timeout occurs. With the NI one it shows 68 if I probe the wire and the measurement is done. The program then continues to transfer the data. So somehow with the Agilent interface I don't get the correct information whether the measurement is over.

 

Does anyone have an idea what causes this difference? Why does the outcome of the STB request depend on the GPIB interface?

 

If it helps I can upload both the "wait for opc" and the program that I use.

 

Thanks in advance for your help!


Viewing all articles
Browse latest Browse all 5695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>