VTI Instruments Corp.
146 EX1629 Command Set
vtex1629_get_dio_bank1_direction
FUNCTION PROTOTYPE
ViStatus vtex1629_get_dio_bank1_direction (ViSession vi, ViPInt32 direction);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
direction = an integer return value indicating the direction of bank one of the digital I/O. Valid return values: 0 or 1.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function indicates whether bank one of the digital I/O is configured as input or output. The direction parameter
is defined as follows:
0 = input 1 = output
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 dio1dir;
…
status = vtex1629_get_dio_bank1_direction(instrumentHandle, &dio1dir);