LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout expired gpib

Hello,

1) I am currently doing a chain of acquisition data based on a Tektronix DPO4104 oscilloscope with GPIB interface. I have labview 7.1 and I downloaded the driver of my instrument from ni.com and all configured with MAX.
To do tests I generate signal from a GBF that I see on the DPO4104 .to acquire it I executed the example provided with the instrument driver: tkdpo4k Example - Acq Wfm Edge Triggered.vi
The acquisition is done I get the input sinusoid but the problem after some minutes one error appears:
 

Hex OxBFFF0015) Timeout expired before operation completed.


2) the example that I execute  is already in the examples provided with the instrument driver can you help me to do  my own  VI using the VIs in the DPO4104 (it had several) 

                                                                       Please I need help . 
thanks.

 

 

 

 

 

   
Download All
0 Kudos
Message 1 of 4
(3,069 Views)
This timeout error is probably occuring because the scope is not getting a trigger before the timeout.  Default is usually 2000 ms.  Do you see the timeout after such a delay?
Ben

National Instruments
Certified LabVIEW Associate Developer
Certified TestStand Developer
0 Kudos
Message 2 of 4
(3,030 Views)

thanks Ben  for your answer,

 

will i change the trigger holdoff from   (500.0 E-9 s)  to 2000 ms  in the tkdpo4k Configure Trigger.VI???

0 Kudos
Message 3 of 4
(3,008 Views)

By default, this example starts, waits for a trigger, acquires, and then ends.  I'm not certain how you are getting a timeout error after the acquisition has already happened unless you have modifed the code to perform the acquisition multiple times by using a loop.  Is the timeout happening before or after acquisition?

 

In my previous post, I didn't mean to imply that you necessarily had to increase the timeout.  I wanted you to be mindful of why the timeout might be occuring and increase the timeout if your instrument/VI is waiting for a signal too long.

Ben

National Instruments
Certified LabVIEW Associate Developer
Certified TestStand Developer
Message 4 of 4
(2,976 Views)