VTI Instruments Corp.
232
EX1629 Command Set
vtex1629_send_lxibus_pulse
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_send_lxibus_pulse (ViSession
vi
, ViInt32
pulseLines
);
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.
pulseLines
= an integer input value that determines which channels on the LXI Trigger Bus will generate a pulse.
Valid input values: 0 to 255.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function sends a pulse out on the desired LXI Trigger Bus channels. The
pulseLines
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. For example, if a user wants to send a pulse out on
LXI Trigger Bus channels zero and seven, then:
pulseLines
= 10000001b (0x0000 0081), or 129.
Pulse widths are 1 microsecond (µs).
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 pulse_mask = 0x00000081; // pulse bits 7 and 0
…
status = vtex1629_send_lxibus_pulse(instrumentHandle, pulse_mask);