LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and Tektronix MSO44 - VISA - Multiple Waveforms

Solved!
Go to solution

First post, so be gentle. I tried to search the Labview and Tektronix forums already.

 

Goal: I am simply trying to capture multiple waveforms with labview from a MSO44.

 

I have installed the Tektronix instrument drivers from NI, and used the sample code to successfully capture a single continuous waveform. I have done this with different channels. So I am pretty confidant the base level is working.

 

I then tried the (Tektronix MSO5X Series Acquire Multiple Waveform.vi) provided in the samples.  I keep getting this error:

 

Error -1074000000 occurred at Tektronix MSO5X Series.lvlib:Error Query.vi

 

Possible reason(s):

Instrument reports:
241,"Hardware missing; Invalid termination value; :CH1:COUPling DC;:CH1:TERMination 1.0000E+6;"
0,"No events to report - queue empty"

 

Complete call chain:

Tektronix MSO5X Series.lvlib:Error Query.vi
Tektronix MSO5X Series.lvlib:Configure Channel.vi
Tektronix MSO5X Series Acquire Multiple Waveform.vi

 

Labview 2022 Q3(32bit)

VISA 2024Q2 (i have tested it works)

I have used both the USB and Ethernet connections.

 

I have tried stepping through the loops w/ the execution highlight and wire data on, but cannot seem to get to the bottom of this.

 

Physically, I just have two probes connected to a battery, just trying to validate the data collection portion.

 

0 Kudos
Message 1 of 6
(676 Views)

Double check if your installed driver is statet compatible with your device. Then check if the commands used in your driver do also exist in your device's documentation and check the valid range.

 

yYou can test commands in NI MAX visa panel. 

Actor Framework
0 Kudos
Message 2 of 6
(635 Views)

Thanks I was really hoping for some other ideas as well, or anyone worked with tektronix. 

 

I'm pretty sure the device is compatible as it says it is and as I mentioned above I've tested other functions and it works. Using NI MAX I'm able to do the device query as well as get the device information back. I was even able to capture one continuous signal and log it to a file just fine.

 

As for the device command instructions I have not been able to find those from the manufacturer or online If you have an idea where I might be able to find those it would be greatly appreciated. That said the ni supported device driver I downloaded states the exact model number that I'm using and that it's supported. I even exploded the various sub-vis in the example file and confirmed that the MSO44 is indeed a supported model in the ID lookup function.

 

Any other next steps?

0 Kudos
Message 3 of 6
(624 Views)

@wdenny3885 wrote:

Thanks I was really hoping for some other ideas as well, or anyone worked with tektronix. 

 

I'm pretty sure the device is compatible as it says it is and as I mentioned above I've tested other functions and it works. Using NI MAX I'm able to do the device query as well as get the device information back. I was even able to capture one continuous signal and log it to a file just fine.

 

As for the device command instructions I have not been able to find those from the manufacturer or online If you have an idea where I might be able to find those it would be greatly appreciated. That said the ni supported device driver I downloaded states the exact model number that I'm using and that it's supported. I even exploded the various sub-vis in the example file and confirmed that the MSO44 is indeed a supported model in the ID lookup function.

 

Any other next steps?



https://www.tek.com/de/sitewide-content/manuals/4/5/6/4-5-6-series-mso-programmer-manual

 

Check if the programmer manual states the command on which Labview brakes or the one before.

 

Check your installed firmware version

 

Tryout the specific command using e.g Visa Test Panel.

 

I experienced that some vommands stated in manuals dien't make it into the firmware. If the case, contact manufacturer. However, post the vi that brakes here and we can figure out a workaround.

Actor Framework
0 Kudos
Message 4 of 6
(607 Views)
Solution
Accepted by topic author wdenny3885

@wdenny3885 wrote:

Error -1074000000 occurred at Tektronix MSO5X Series.lvlib:Error Query.vi

Possible reason(s):

Instrument reports:
241,"Hardware missing; Invalid termination value; :CH1:COUPling DC;:CH1:TERMination 1.0000E+6;"
0,"No events to report - queue empty"


If this is true, then it doesn't like the termination value.

 

Are you just running the example VI with the default inputs for everything?  Could you change the unwired termination setup input to have a value, and try the other two options?

Kyle97330_1-1718651695274.png

Also, you haven't changed the inputs for the "Initialize" VI at all, right?  So it still does a full reset before running the other commands?

0 Kudos
Message 5 of 6
(579 Views)

Thank you very much. So I just came back to post the solution I found, and saw your comment. 

 

This is an MSO44 with TPP1000 probes. After looking at the term values in the sample VI, the options were 50, 1M, and isolated. The printed value on the probe is 10M. I tried that it didn't work.  Looking at the screen, it just says "Set by TPP1000".

wdenny3885_3-1719325568898.png


Then, thanks to the previous comment w/ the link to the manual, I used the VISA test panel to query what was currently set up, and there we have it, 250K.

 

wdenny3885_0-1719325469753.png

 

I updated the sample code text value for this, and it ran fine. It does only plot the first channel, which is weird, but there are no errors.

wdenny3885_1-1719325536404.png

 

0 Kudos
Message 6 of 6
(542 Views)