nimodinst.Session properties

nimodinst.Session.bus_number

The bus on which the device has been enumerated.

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_BUS_NUMBER
nimodinst.Session.chassis_number

The number of the chassis in which the device is installed. This property can only be queried for PXI devices installed in a chassis that has been properly identified in MAX.

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_CHASSIS_NUMBER
nimodinst.Session.device_model

The model of the device (for example, NI PXI-5122)

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_DEVICE_MODEL
nimodinst.Session.device_name

The name of the device, which can be used to open an instrument driver session for that device

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_DEVICE_NAME

MAX_PCIEXPRESS_LINK_WIDTH

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_MAX_PCIEXPRESS_LINK_WIDTH

PCIEXPRESS_LINK_WIDTH

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_PCIEXPRESS_LINK_WIDTH
nimodinst.Session.serial_number

The serial number of the device

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_SERIAL_NUMBER
nimodinst.Session.slot_number

The slot (for example, in a PXI chassis) in which the device is installed. This property can only be queried for PXI devices installed in a chassis that has been properly identified in MAX.

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_SLOT_NUMBER
nimodinst.Session.socket_number

The socket number on which the device has been enumerated

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read
Channel Based False
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIMODINST_ATTR_SOCKET_NUMBER