Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Tektronix tx3 dmm ivi overrange problem

Hi all!
This is my first post. I've got a problem that I can't figure out. My Tektronix Tx3 dmm isn't playing nice with Labview 8se or Labview 7.1. (both are setup individually on seperate machines) The IVI compliance package (s) that are installed are the correct version, along with NI-Visa 4.0. This insturment does work correctly with Tek wavestar for meters.
Exact symptoms:
I create a blank vi, place the (tek tkxxx) getting started.vi on the block diagram and double click on the getting started.vi . Next I set the instrument address. Then I run the vi. If I ask it to do an AC measurement, (the default) the vi returns a valid reading with no errors. When I ask it to do any other type of meausrement it returns a " warning 1073356801 occurred at tkxx Read.vi  Driver status: (hex 0x3ffA2001) Over range" and displays NaN in the reading display.
Reading the documentation, it states that if an overrange has occurred, the measurement value will contain an "IEEE" defined NaN value"
Other things I have tried:
Unindtalling and re installing the ivi compliance package and the insturment driver.
Running the driver in simulation mode returns works EXCEPT when trying to measure temperature Fahrenheit.
What did I do wrong?
Thanks,
Norm n3ykf
0 Kudos
Message 1 of 5
(5,061 Views)
Hi Norm,

Are you able to send commands to do AC measurements from Measurement and Automation Explorer (MAX) using NI-VISA? I am curious to know if the issue is specific to the IVI driver. Please let me know. Thanks!

Regards,
Ebele O.
National Instruments
0 Kudos
Message 2 of 5
(5,009 Views)
Ebele,
Thank you for your time. I don't have the technical expertise to do that. If you have a suggestion as to how I can do it (NI-visa interactive control, write a file to the bus?) the idea would be well recieved. My confusion is related to the hirerarchy of commands. It's confusing to say the least (Writing IVI to the bus with Visa commands.) Using NI-Spy is like hanging out with a group of people that are speaking a foriegn language and trying to guess what's going  on by reading faces.
This is my idea of fun.
What I'm trying to do: Monitor a Rubidium frequency standard temperature so that it will not cook itself. If temperature exceeds a value, pick a relay to drop power to the oscillator.
Again, the AC volts work, the function to read the internal battery voltage works, everyting else returns NaN and an overrange error.

Norm n3ykf
0 Kudos
Message 3 of 5
(4,989 Views)
Hi Norm,

Sorry, I may not have been very clear with my suggestion; Using VISA means we are stepping away from IVI completely. I suggested this to determine if the problem is from the IVI driver or not. To communicate using VISA, expand devices and interfaces from MAX, right-click on "GPIBx" (where x is the number of your interface, so interface 0 would be GPIB0), and select "scan for instruments". 

Now, click on the instrument and select "Open VISA Test Panel" from the  top of the page. Click on Basic I/O, and you can write commands and read from your instrument. You will need to know the commands that the instrument responds to; try sending the commands for the measurements you were unable to do using the IVI driver and see if it works.

Please let me know how that goes. Thanks!

Regards,
Ebele O.
National Instruments
0 Kudos
Message 4 of 5
(4,958 Views)

I have a similar problem with an NI PXI-4072 DMM.   Of course, the drivers one can download are IVI drivers.   I will be writing VISA drivers for the AC (single) Measurement.   The DC Measurement works fine (single meas).

0 Kudos
Message 5 of 5
(4,031 Views)