VTI Instruments Corp.
124
EX1629 Command Set
vtex1629_get_arm_count
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_arm_count (ViSession
vi
, ViPInt32
armCount
);
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.
armCount
= an integer output value that specifies the currently configured arm count for the EX1629. Valid return
values: 1 to 2,147,483,647 (2
31
-1).
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function queries and returns 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 IDLE 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 set 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.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 armcount;
…
status = vtex1629_get_arm_count( instrumentHandle, &armcount);