www.vtiinstruments.com
EX1629 Command Set
247
vtex1629_set_dio_bank0_pullup
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_dio_bank0_pullup (ViSession
vi
, ViInt32
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 input value that indicates the desired pull-up mode for bank zero of the digital I/O. Valid input
values: 0 or 1.
D
ATA
I
TEM
R
ESET
V
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,
VTEX1629_ACTIVE_PULLUP);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...