www.vtiinstruments.com
EX1629 Command Set 147
vtex1629_get_dio_bank1_pullup
FUNCTION PROTOTYPE
ViStatus vtex1629_get_dio_bank1_pullup (ViSession vi, ViPInt32 pullup);
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.
pullup = an integer return value indicating the pull-up mode for 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 queries and returns the pull-up mode for bank one of the digital I/O. The pullup parameter is defined
as follows:
0 = passive pull-up mode 1 = active pull-up mode
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 dio1pullup;
…
status = vtex1629_get_dio_bank1_pullup(instrumentHandle, &dio1pullup);