Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems reading/writing Tektronix TDS3052 connected via GPIB-USB-HS

Solved!
Go to solution

Hello Everybody,

 

So I'm fairly new to using LabView, and am having some issue connecting a Tektronix TDS3052 oscilloscope to my computer using the NI GPIB-USB-HS connector. I have installed the driver associated with the scope (Tektronix TDS 3000 Series). The examples that came with the driver (attached image) do not work, resulting in:

Error -1074001665 occurred at TKTDS3K Error Query;
Instrument reports the following:
241: Hardware missing;
0: No events to report - queue empty

 

However, there is obviously some communication from the computer to the oscilloscope, as running LabView changes the scale and triggering level for the scope. The oscilloscope appears in MAX (attached image), and I can get queries to run without errors there. Any suggestions on how to get it to work in LabView?

0 Kudos
Message 1 of 4
(4,329 Views)
Solution
Accepted by topic author CharStark

CharStark,

 I just tried that same vi on my 3052 using LabVIEW 2013 and it worked fine. This discussion and this discussion seem to suggest that wiring a false constant to the ID Query input of the initialize function helped some people.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 4
(4,269 Views)

Hi

I would try to slow down the busspeed to two uS instead of 500 nS.

The instrument is not the fastest in the world, maybe it helps.

greetings from the Netherlands
Message 3 of 4
(4,263 Views)

Thanks for the replies.

 

It seems that it is definitely something with the "Reset Device" parameter on the initialize.vi, as running this by itself results in the generated error (attached image). However, for whatever reason, attaching a constant False boolean to the input of initialize.vi does not remove the error. I was able to work around this by simply removing the "Reset Device" section of the initialize.vi (Wiring the "Query Instrument ID" directly to "Close if Error" in the initialize.vi block diagram).

 

It works fine now.

0 Kudos
Message 4 of 4
(4,246 Views)