VTI Instruments Corp.
144
EX1629 Command Set
vtex1629_get_dio_bank0_direction
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_dio_bank0_direction (ViSession
vi
, ViPInt32
direction
);
F
UNCTION
P
ARAMETERS
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 zero of the digital I/O. Valid return values: 0 or
1.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function indicates whether bank zero of the digital I/O is configured as input or output. The
direction
parameter is defined as follows:
0 = input
1 = output
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 dio0dir;
…
status = vtex1629_get_dio_bank0_direction(instrumentHandle, &dio0dir);