www.vtiinstruments.com
EX1629 Command Set
145
vtex1629_get_dio_bank0_pullup
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_dio_bank0_pullup (ViSession
vi
, ViPInt32
pullup
);
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.
pullup
= an integer return value indicating the pull-up mode for 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 queries and returns the pull-up mode for bank zero of the digital I/O. The
pullup
parameter is defined
as follows:
0 = passive pull-up mode
1 = active pull-up mode
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 dio0pullup;
…
status = vtex1629_get_dio_bank0_pullup(instrumentHandle, &dio0pullup);