01-25-2015 11:26 AM
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
Solved! Go to Solution.
01-27-2015 01:43 PM
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?
01-28-2015 10:39 AM
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).
01-28-2015 03:39 PM
Great, problem solved!
Setting properties in this order works for me:
DmmSession.ConfigureMeasurementDigits(measurementMode, range, resolution) DmmSession.InputResistance = InputResistance
09-22-2024 02:31 PM
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"?
09-22-2024 09:16 PM
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