73xx Controller General-Purpose I/O Port IDs and Constants

NI-Motion Functions

73xx Controller General-Purpose I/O Port IDs and Constants

7330, 7340, and 7350 Controller I/O Port Resource IDs and Constants

The following table lists the resource IDs and constants for I/O ports on 7330, 7340, and 7350 controllers.

Note  The I/O line direction is user configurable using the Set I/O Port Direction function, so these controllers do not have separate port IDs for input and output ports.

Resource Name Resource ID Constant
I/O Port 1 0x01 NIMC_IO_PORT1
I/O Port 2 0x02 NIMC_IO_PORT2
I/O Port 3 0x03 NIMC_IO_PORT3
I/O Port 4 0x04 NIMC_IO_PORT4
I/O Port 5 0x05 NIMC_IO_PORT5
I/O Port 6 0x06 NIMC_IO_PORT6
I/O Port 7 0x07 NIMC_IO_PORT7
I/O Port 8 0x08 NIMC_IO_PORT8
RTSI Port 0x09 NIMC_RTSI_PORT

PCI-7390 Controller I/O Port Resource IDs

The following table lists the resource IDs for I/O ports on the PCI-7390 controller:

Digital Input Ports
Resource Name Resource ID Constant
Input Port 1 0x01 NIMC_DIGITAL_INPUT_PORT1
Input Port 2 0x02 NIMC_DIGITAL_INPUT_PORT2
Input Port 3 0x03 NIMC_DIGITAL_INPUT_PORT3
Input Port 4 0x04 NIMC_DIGITAL_INPUT_PORT4
Digital Output Ports
Resource Name Resource ID Constant
Output Port 1 0x81 NIMC_DIGITAL_OUTPUT_PORT1
Output Port 2 0x82 NIMC_DIGITAL_OUTPUT_PORT2
Output Port 3 0x83 NIMC_DIGITAL_OUTPUT_PORT3
Output Port 4 0x84 NIMC_DIGITAL_OUTPUT_PORT4