VTI Instruments Corp.
246
EX1629 Command Set
vtex1629_set_dio_bank0_direction
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_dio_bank0_direction (ViSession
vi
, ViInt32
direction
);
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.
direction
= an integer input value indicating the desired direction of bank zero of the digital I/O. Valid input values:
0 or 1.
D
ATA
I
TEM
R
ESET
V
ALUE
direction
= 0 (input)
D
ESCRIPTION
This function sets the direction of bank zero of the digital I/O as input or output. The
direction
parameter is defined
as follows:
VTEX1629_DIO_DIRECTION_IN (0) = input
VTEX1629_DIO_DIRECTION_OUT (1) = output
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
…
status = vtex1629_set_dio_bank0_direction(instrumentHandle,
VTEX1629_DIO_DIRECTION_OUT);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...