www.vtiinstruments.com
EX1629 Command Set 247
vtex1629_set_dio_bank0_pullup
FUNCTION PROTOTYPE
ViStatus vtex1629_set_dio_bank0_pullup (ViSession vi, ViInt32 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 input value that indicates the desired pull-up mode for bank zero of the digital I/O. Valid input
values: 0 or 1.
DATA ITEM RESET VALUE
pullup = 0 (passive pull-up mode)
DESCRIPTION
This function sets the pull-up mode for bank zero of the digital I/O to active or passive. The pullup parameter is
defined as follows:
VTEX1629_PASIVE_PULLUP (0) = passive pull-up mode
VTEX1629_ACTIVE_PULLUP(1) = active pull-up mode
NOTE Active versus passive pullup applies only to banks that are in output mode.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
…
status = vtex1629_set_dio_bank0_pullup(instrumentHandle,
VTEX1629_ACTIVE_PULLUP);