Mar-09-2020, 09:03 PM
Hi All,
I'm having a problem if anyone has come across it before or can shed some light on it, it would be greatly appreciated.
I'm trying to set the input resistance of an NI-PXI4065 DMM in python using National Instrumetns NI-DMM python library. I have tried it both ways in the code below but it comes up with errors.
Again if someone has come across this error before and can help, that would be great.
Thanks
Stephen
I'm having a problem if anyone has come across it before or can shed some light on it, it would be greatly appreciated.
I'm trying to set the input resistance of an NI-PXI4065 DMM in python using National Instrumetns NI-DMM python library. I have tried it both ways in the code below but it comes up with errors.
Again if someone has come across this error before and can help, that would be great.
Thanks
Stephen
import nidmm with nidmm.Session(UUT) as session: session.configure_measurement_digits(nidmm.Function.DC_VOLTS, 0.1, 6.5) #session.input_resistance(NIDMM_VAL_GREATER_THAN_10_GIGAOHM) #session.input_resistance(1.000E+10) time.sleep(0.1) a = float(session.read()) sheet['A5'] = a #session.input_resistance(NIDMM_VAL_10_MEGAOHM) time.sleep(0.1) a = float(session.read()) sheet['B5'] = a