VT1422A Command Reference 395Chapter 7
TRIGger
TRIGger:COUNt
TRIGger:COUNt <trig_count> sets the number of times the module can be
triggered before it returns to the Trigger Idle State. The default count is 1. Note that
this default was chosen to make testing data acquisition scan lists easier (only one
scan list worth of data in FIFO per trigger). For algorithm operation, it is usually
desirable to change the count to INFinite to accept continuous triggers. See Figure 7-7
on page 394.
Parameters
Comments • When <trig_count> is set to 0 or INF, the trigger counter is disabled. Once
INITiated the module will return to the Waiting-For-Trigger State after each
trigger event. The ABORT (preferred) and *RST commands will return the
module to the Trigger Idle State. ABORT is preferred since *RST also returns
other module configurations to their default settings.
• The default count is 0.
• Related Commands: TRIG:COUNT?
• *RST Condition: TRIG:COUNT 0
• Send with VXIplug&play Function: hpe1422_cmd(...)
Usage TRIG:COUNT 10
Set the module to make ten passes all
enabled algorithms.
TRIG:COUNT 0
Set the module to accept unlimited
triggers (the default)
TRIGger:COUNt?
TRIGger:COUNt? returns the currently set trigger count.
Comments • If TRIG:COUNt? returns 0, the trigger counter is disabled and the module will
accept an unlimited number of trigger events.
• Returned Value: Numeric 0 through 65,535. The data type is int32.
• Related Commands: TRIG:COUNT
• *RST Condition: TRIG:COUNT? returns 0
• Send with VXIplug&play Function: hpe1422_cmdInt32_Q(...)
Usage TRIG:COUNT?
Query for trigger count setting
enter statement
Returns the TRIG:COUNT setting
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
Trig_count numeric (uint16)
(string)
0 to 65535 | INF none