Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nidmm error
#1
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

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
Reply


Messages In This Thread
nidmm error - by stemacDublin - Mar-09-2020, 09:03 PM
RE: nidmm error - by Larz60+ - Mar-09-2020, 10:43 PM
RE: nidmm error - by stemacDublin - Mar-10-2020, 09:57 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020