From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB timeout

I'm using a GPIB to collect data from a Tektronix Oscilloscope and everyday when I come in and try to collect it gives me this error HEX 0XBFFF0A6. I'm using windows 7 and LabView 2011. Each time I just restart LabView and it works just fine throughout the day. Opening MAX shows that it is communicating with the instrument. If this error code is simple I apologize but Google is down due to SOPA.

 

I've also had similiar problems with USB DAQ devices but in that case it is windows disconnecting from the instrument.

0 Kudos
Message 1 of 2
(2,246 Views)

Hi TSCline,

 

These kinds of errors are usually due to GPIB/VISA reads where the message received is larger than the expected amount of bytes. Try programming a routine which will flush the buffer contents and try the collection command again. http://zone.ni.com/reference/en-XX/help/371361H-01/lvinstio/gpib_clear/

 

In addition, if you are not doing this already, look through our 3rd party drivers page for your Tektronix model and see if you can download proven VIs to control your Oscilloscope (http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:id/q/Tektronix/)

 

Hope this helps!

 

 

Aldo A
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,233 Views)