F
P
UNCTION
ROTOTYPE
ViStatus vtex1629_set_dio_bank0_pullup (ViSession vi, ViInt32 pullup);
F
P
UNCTION
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 input value that indicates the desired pull-up mode for bank zero of the digital I/O. Valid input
values: 0 or 1.
D
I
R
V
ATA
TEM
ESET
ALUE
pullup = 0 (passive pull-up mode)
D
ESCRIPTION
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.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
...
status = vtex1629_set_dio_bank0_pullup(instrumentHandle,
EX1629 Command Set
vtex1629_set_dio_bank0_pullup
VTEX1629_ACTIVE_PULLUP);
www.vtiinstruments.com
247
Need help?
Do you have a question about the EX1629 and is the answer not in the manual?
Questions and answers