LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stuck during reading data from SR865A through GPIB-USB-HS/HS+

I am programming to read data from Stanford Research System Lock-In SR865A  by using GPIB-USB-HS/HS+. I encountered a problem, using the official LabVIEW driver (downloaded from NI). Even with the initialize vi, I very often get the error message "-1074003951, Stanford Research SR865.lvlib:Error Query.vi<ERR> Instrument Reports: Output Queue Overflow;" or "Instrument Reports: Illegal Command". However, the same VIs work fine with Ethernet communication.
I tried adding time delay between VISA Read and Error Query.vi, but the error sitll happened.

After removing the Error Query.vi, the VI can work. However,  when continuoustly reading the XY data, it stucks randomly and pops out error message "Instrument Reports: Illegal Command".

I have tried two SR865A, two computers, three GPIB-USB-HS/HS+ adapters and 488.2 driver from 19.5 to 24.5, but the same results.

GPIB-SR865A stuck.png

Thanks.

LV2019 32bit, win10/11

0 Kudos
Message 1 of 1
(94 Views)