www.vtiinstruments.com
EX1629 Command Set 233
vtex1629_set_arm_count
FUNCTION PROTOTYPE
ViStatus vtex1629_set_arm_count (ViSession vi, ViInt32 armCount);
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.
armCount = an integer input value that specifies the desired arm count for the EX1629. Valid input values: 0 to
(2
31
-1). Setting this parameter to “0” makes the armCount infinite.
DATA ITEM RESET VALUE
armCount = 1
DESCRIPTION
This function sets the arm count for the EX1629. This count represents the number of times the EX1629 will wait
for arm events to occur after the trigger state machine leaves the INIT layer. Trigger counts should be kept in mind
when considering this trigger state machine. If the state machine is configured with both arm and trigger counts
greater than one, then, after an arm event is received, the state machine will go through all trigger counts before
returning to the arm layer to wait for the next arm event.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
…
status = vtex1629_set_arm_count(instrumentHandle, 2);