TRIGger:COUNt
TRIGger:COUNt
Syntax
TRIGger:COUNt {<count>|MIN|MAX|INFinity}
TRIGger:COUNt?
Description
This command specifies the number of times to sweep through the scan list. A sweep is one pass through the scan list. The scan stops when the number of specified sweeps has occurred.
Used With:
- 34901A 20 Channel Multiplexer (2/4-wire) Module
- 34902A 16 Channel Multiplexer (2/4-wire) Module
- 34907A Multifunction Module (digital input and totalizer channels only)
- 34908A 40 Channel Single-Ended Multiplexer Module
Parameters
Name Type Range of Values Default Value <count> Numeric An integer from 1 to 50,000 triggers, or continuous (INFinity).
MIN = 1MAX = 50,000
This is a required parameter.
Remarks
- After setting the trigger count, you must place the internal DMM in the "wait-for-trigger" state using the INITiate or READ? command. A trigger will not be accepted from the selected trigger source (see TRIGger:SOURce command) until the internal DMM is in the "wait-for-trigger" state.
- For the BUS source, the trigger count sets the number of *TRG commands that will be accepted before returning to the "idle" trigger state.
- For the EXTernal source, the trigger count sets the number of external pulses that will be accepted before returning to the "idle" trigger state.
- For the ALARmx source, the trigger count sets the number of alarms that will be accepted before returning to the "idle" trigger state.
- For the TIMer source, the trigger count sets the number of times the instrument will sweep through the scan list and therefore determines the overall duration of the scan.
- You can store at least 50,000 readings in memory and all readings are automatically time stamped. If memory overflows, the new readings will overwrite the first (oldest) readings stored; the most recent readings are always preserved.
- To set the trigger-to-trigger interval (in seconds) for measurements on the channels in the present scan list, use the TRIGger:TIMer command.
- The CONFigure and MEASure? commands automatically set the trigger count to 1.
- The instrument sets the trigger count to 1 after a Factory Reset (*RST command). An Instrument Preset (SYSTem:PRESet command) or Card Reset (SYSTem:CPON command) does not change the setting.
Return Format
The query returns the scan count in the form "+1.00000000E+01". For a continuous trigger (INFinity), the count is returned as "9.90000200E+37".
Examples
The following program segment configures two channels for DC voltage measurements, puts the channels in the scan list (the scan list is redefined), and sets the trigger count to 10. For each trigger received, one reading is returned for each channel (20 readings total).
CONF:VOLT:DC 10,0.003,(@103,108)
ROUT:SCAN (@103,108)
TRIG:COUN 10
INIT
The following program segment configures the current scan list for an AC voltage measurement and sets the trigger count to 5. For each trigger received, one reading is returned (5 readings total).
CONF:VOLT:AC 10,0.001,(@205,206,208)
TRIG:COUN 5
INIT
The following query returns the current trigger count.
TRIG:COUN?
Typical Response: +5.00000000E+00
See Also
TRIGger Subsystem Introduction