Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Tektronix MSO64 error -1073807339 in Error Query

I am attempting to control a Tektronic MSO64 oscilloscope.

The current setup runs on a Windows 10 with LabView version 2021.

The IVI driver for the oscilloscope is v1.7.

The instruments drivers are from the Tektronix MSO5X Series, Driver Revision: 1.7.

 

NI Max is able to detect the instrument, and with the VISA test panels I am able to successfully perform a *IDN query.

 

However, not even the simplest of Examples vi is working.

After some investigation, it looks that even a simple Initialize-Close vi is giving error.

open-close-vi.png

The most frequent error code is:

- 1073807339 VISA Read in Tektronix MSO5X,

although occasionally a 410,"Query INTERRUPTED" or even error 85 were raised.

 

By highlighting the execution in the Tektronix MSO5X Series::Inizialize.vi, it looks that the error is raised in the Error Query.viInitialize.PNG

The core of Tektronix MSO5X Series::Error Query.vi is in the snippet below:

Error.PNG

The error is raised by one of the VISA Read after writing *ERS? or  EvMsg.

Then the real magic begins:

when the execution of Tektronix MSO5X Series::Error Query.vi is slowed down by "Higlight Execution", the errors disappear.

 

This raises the question whether the oscilloscope has not enough time to respond to the query.

I tried to add a couple of Time Delay VI between VISA write and VISA read:

Error-with-fix.PNG

And with this delay the errors are not raised.

 

However this fix is unsatisfactory, not only because it modifies the original driver library, but also because I may find more nodes throughout the module where to add the delay (I didn't even attempted to fetch waveforms yet!!).

This makes the fix hard to maintain.

 

I searched similar occurrences in the forum see e.g.:

- https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Errors-1074000000-and-1073807339-with-Tektro...

- https://forums.ni.com/t5/LabVIEW/Labview-fails-to-initialize-Tektronix-Oscilloscope-suddenly/td-p/36...

It looks like the issues were never fully understood and solved.

 

Can you perhaps suggest some solution?

Thanks a lot.

 

0 Kudos
Message 1 of 1
(162 Views)