Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DMM not working on host computer through Linux RT

I have a setup where I am using a NI PXIe 1095 chassis with a NI PXIe 8881 controller running NI Linux RT. 

 

I am trying to collect data from a PXIe 4081 Digital Multimeter card inside my setup using the nidmm module for python.  The PXIe 4081 is showing up inside NI-MAX and I am able to run the self test and self calibrate through NI MAX, however when I connect through python I get an error that the device cannot be recognized.  I am plugged into the PXIe 8881 over ethernet  Any help is greatly appreciated.

 

niuser39_0-1721432835788.png

 

 

```

# ./nidmm_simple_test.py

import nidmm

try:
    with nidmm.Session("PXI1Slot9") as session:
        print(session.instrument_model)
except nidmm.Error as e:
    print(f"NI-DMM Error: {e}")
except Exception as e:
    print(f"General Error: {e}")

```

 

Output:

python nidmm_simple_test.py
NI-DMM Error: -1074118656: Device was not recognized. The device is not supported with this driver or version.

Invalid Identifier: PXI1Slot9

0 Kudos
Message 1 of 1
(126 Views)