VTI Instruments Corp.
172
EX1629 Command Set
vtex1629_get_lxibus_output
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_lxibus_output (ViSession
vi
, ViPInt32
output
);
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.
output
= an integer return value that indicates the current output state of each LXI Trigger Bus channel. Valid return
values: 0 to 255.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function queries and returns the output state of each of the channels on the LXI Trigger Bus. The
output
parameter is an 8-bit integer where the least significant bit of the integer corresponds to LXI Trigger Bus channel
zero, and the most significant bit corresponds to LXI Trigger Bus channel seven. If an LXI channel is configured as
an input, the output state of that channel has no effect.
If, for example, the value 129 (0x81) is returned, this corresponds to the 8-bit number 1000 0001b, which indicates
that LXI Trigger Bus channels zero and seven are configured to output high signals, while the rest will output low
signals.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 outs;
…
status = vtex1629_get_lxibus_output(instrumentHandle, &outs);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...