The Digital Input/Output function group performs digital input and output operations. The digital input/output lines (bits) on each data acquisition device are grouped into logical units called ports. Each port has eight lines or bits. For example, the port 1/bit 3 specifies the eleventh bit on the data acquisition device. The Device Drivers provides bit and port (byte) functions.
The digital I/O port of some data acquisition devices can be configured for input or output. You can use the DRV_DeviceSetProperty function to configure the specified port for input or output. In addition, you can use the DRV_DeviceGetProperty function to read the configuration.
For details, please refer to the following: