VTI Instruments Corp.
272 EX1629 Command Set
For example, if a user wishes to arm the EX1629 on a negative edge signal coming into the digital I/O bus on
channels 0 and 3, then: dioLines[1] = 00001001b = 0x0009 = 9.
With regard to the lxiOutput parameter, it is important to note that since the EX1629 can simultaneously accept arm
events from multiple sources, it is necessary to reserve one of the LXI Trigger Bus line to communicate these events
within the device and to other devices in a multi-device configuration. If the EX1629 is a master driving arm to
peripheral slaves, the lxiOutput parameter specifies the LXI Trigger Bus line that will be used to communicate the
ARM event to the slave devices. It is also necessary to configure this LXI Trigger Bus line to be used as an output
(see vtex1629_set_lxibus_configuration).
The lxiInput parameter specifies which trigger bus line the master device uses for its arm events. Although this
parameter is often set to the same value as lxiOutput, there are cases where it might be set to a different value. For
instance, when the device is configured as a master device in a star multi-box configuration, the master might output
the ARM event on LXI2 and input it back in on LXI6.
inLine/outLine
Description
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt16 triglines[VTEX1629_MAX_LINES];
ViInt16 diolines[VTEX1629_MAX_LINES];
…
triglines[0] = 0x00;
triglines[1] = 0x01;
triglines[2] = 0x48;
triglines[3] = 0x00;
diolines[0] = 0x0000;
diolines[1] = 0x0009;
diolines[2] = 0x0000;
diolines[3] = 0x0000;
status = vtex1629 vtex1629_set_pattern_arm_configuration (instrumentHandle,
triglines,
diolines,
VI_FALSE,
VTEX1629_LXI_LINE_TWO,
VTEX1629_LXI_LINE_TWO);