VTI Instruments Corp.
126 EX1629 Command Set
vtex1629_get_arm_source
FUNCTION PROTOTYPE
ViStatus vtex1629_get_arm_source (ViSession vi, ViPInt32 armSource);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
armSource = an integer return value that indicates the current source the EX1629 monitors for ARM events. See the
Description section below for more information. Valid return values: 0 to 17.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function queries and returns the current arm source setting. Possible values for the armSource parameter are:
VTEX1629_TRIG_SRC_IMMEDIATE
VTEX1629_TRIG_SRC_PATTERN
VTEX1629_TRIG_SRC_LXI0_POS
VTEX1629_TRIG_SRC_LXI1_POS
VTEX1629_TRIG_SRC_LXI2_POS
VTEX1629_TRIG_SRC_LXI3_POS
VTEX1629_TRIG_SRC_LXI4_POS
VTEX1629_TRIG_SRC_LXI5_POS
VTEX1629_TRIG_SRC_LXI6_POS
VTEX1629_TRIG_SRC_LXI7_POS
VTEX1629_TRIG_SRC_LXI0_NEG
VTEX1629_TRIG_SRC_LXI1_NEG
VTEX1629_TRIG_SRC_LXI2_NEG
VTEX1629_TRIG_SRC_LXI3_NEG
VTEX1629_TRIG_SRC_LXI4_NEG
VTEX1629_TRIG_SRC_LXI5_NEG
VTEX1629_TRIG_SRC_LXI6_NEG
VTEX1629_TRIG_SRC_LXI7_NEG
Immediate (0): an immediate ARM source. After initialization of the trigger system, the trigger state machine will
bypass the ARM layer and will automatically transition into the TRIG layer.
Pattern (1): this arm source allows the EX1629 to accept ARM events from multiple sources. Specifically, the
EX1629 can be configured to accept ARM events from any of the LXI Trigger Bus channels, from any of the digital
I/O channels, from an internal timer, or from software arm commands. The instrument can be configured to accept
any combination of these events simultaneously. The specific pattern is queried with the
vtex1629_get_pattern_arm_configuration call.
LXI n Positive Edge (2 – 9): these arm sources refer to ARM events coming from the LXI Trigger Bus. More
specifically, these arm sources will cause the EX1629 to arm on the positive edge of signals coming into the LXI
Trigger Bus.
LXI n Negative Edge (10 – 17): these arm sources refer to ARM events coming from the LXI Trigger Bus. More
specifically, these arm sources will cause the EX1629 to arm on the negative edge of signals coming into the LXI
Trigger Bus.