Digital Multimeters (DMMs) and Precision DC Sources

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting InputResistance .net DMM 4071

Solved!
Go to solution

Hello,

 

I am struggeling finding documentation for the NI-DMM .NET Class Libraries 1.0.3

 

My actual problem is the argument value to set input resistance of a PXI-4071.

 

DmmSession.InputResistance = 10000000.0 (10Meg) works fine

but

DmmSession.InputResistance = 10000000000.0 (10Gig+) returns error "ModularInstruments.NIDmm: The specified argument was out of the range of valid values.
Error Code : -1074135024"

 

 

I'm using the latest ver 14.0 drivers with Visual Studio Express 2012 (VB)

 

Thanks

0 Kudos
Message 1 of 6
(6,905 Views)

It seems to me like there is a bug or incompatibility issue here.

 

Even if I copy and paste from the help system, the error is still there. I have tried on two different 4071 DMMs...

 

Works with 10M input resistance, but not with 10G input resistance.

Both meters work fine with the soft front panel, also setting 10Gig inputs.

 

 

What can I do?

0 Kudos
Message 2 of 6
(6,885 Views)
Solution
Accepted by topic author janaf

10G Input Resistance should be supported on 4071, but is only valid under specific Function & Range combinations.  

 

I would do the following:

1) Check that the Function & Range you have configured should support >10G Input Resistance (For example <= 10VDC on 4071).

2) Check the order in which you are configuring the attributes: Function, Range, Input Resistance (or just use the ConfigureMeasurementDigits function which will ensure the attributes are configured in the correct order).

Message 3 of 6
(6,870 Views)

Great, problem solved!

 

Setting properties in this order works for me:

        DmmSession.ConfigureMeasurementDigits(measurementMode, range, resolution)
        DmmSession.InputResistance = InputResistance

 

0 Kudos
Message 4 of 6
(6,864 Views)

AttributeError: 'Session' object has no attribute 'InputResistance'

The result from python:

NI4071 = nidmm.Session("NI4071")
NI4071.configure_measurement_digits(nidmm.Function.DC_VOLTS, 10, 7.5)
NI4071.InputResistance = 10e9

 

"DmmSession.InputResistance = InputResistance"

Clarify please . . .

What is meant by the second "InputResistance"?

0 Kudos
Message 5 of 6
(257 Views)

If you're using Python, you're using the wrong property name. It must be "input_resistance" in snake case and not "InputResistance."

 

You can learn about all the supported properties by reading the API documentation here - https://nidmm.readthedocs.io/en/latest/class.html#input-resistance

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 6
(246 Views)