VI_ATTR_MODEL_CODE

NI-VISA

VI_ATTR_MODEL_CODE

Resource Classes

GPIB-VXI INSTR, PXI INSTR, USB INSTR, USB RAW, VXI INSTR

Attribute Information

Access Privilege Data Type Range Default

Read Only
Global

ViUInt16

0h to FFFFh

N/A

Description

VI_ATTR_MODEL_CODE specifies the model code for the device.

For VXI resources, this refers to the VXI Model Code.

For PXI INSTR resources, if the subsystem PCI Vendor ID is nonzero, this refers to the subsystem Device ID. Otherwise, this refers to the Device ID.

For USB resources, this refers to the Product ID (PID).


Related Topics

INSTR Resource

VI_ATTR_MANF_ID

VI_ATTR_MODEL_NAME