ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA error -1073807339

Hello All:
I am trying to read waveform from TDS3054 scope trough GPIB.
Sometimes i have the error:
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
I tried to increase timeout property, but it's seen that GPIB is locking. If i turn off the scope and turn on again, it is working good, until i have again this error.
What can i do, help me!!!!!!!!!!!!!!!!!!!!!
0 Kudos
Message 1 of 3
(3,680 Views)
If this really is a simple timeout, and for whatever reason you are unable to increase the VISA timeout just add a delay between the write and read calls.
something like
int data[1024];
viPrintf(vi, ":WAV:DATA?", VI_NULL);
Sleep(100);
viScanf(vi, "%,1024d", data);

0 Kudos
Message 2 of 3
(3,680 Views)
How do you program this delay in labview?
0 Kudos
Message 3 of 3
(3,680 Views)