01-18-2012 10:55 AM
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.
01-19-2012 05:30 PM
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!