TRIGger:COUNt

34980A

TRIGger:COUNt

Syntax

TRIGger:COUNt {<count>|MIN|MAX|DEF|INFinity}

TRIGger:COUNt? [{MIN|MAX}]

Description

This command selects the number of triggers that will be accepted by the internal DMM before returning to the "idle" trigger state. The trigger count applies to both scanning and stand-alone DMM measurements (with no scan list).

Used With:

  • 34921A through 34925A Multiplexer Modules

  • 34950A Digital I/O Module (digital input and counter channels only)

  • 34952A Multifunction Module (digital input and totalizer channels only)

  • Internal DMM

Parameters

Name

Type

Range of Values

Default Value

<count>

Numeric

1 to 500,000 triggers, or continuous (INFinity).

MIN = 1 sweep, MAX = 500,000 triggers

1 trigger

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.  

  1. For the BUS source, the trigger count sets the number of *TRG commands that will be accepted before returning to the "idle" trigger state.

  2. For the EXTernal source, the trigger count sets the number of external pulses that will be accepted before returning to the "idle" trigger state.

  3. For the ALARmx source, the trigger count sets the number of alarms that will be allowed before returning to the "idle" trigger state.

  4. 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 specify a trigger count in conjunction with a sample count and a sweep count. The three parameters operate independent of one another, and the total number of readings returned will be the product of the three parameters.

  1. The sample count selects the number of auto-triggered samples per channel per trigger (see SAMPle:COUNt command).

  2. The sweep count selects the number of sweeps per trigger event during a scan (see SWEep:COUNt command).

  • You can store at least 500,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 clears all readings from memory when the triggering configuration is changed.

  • 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 command returns the trigger count in the form "+1.00000000E+00". For a  continuous trigger (INFinity), the query command returns "9.9E+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,(@1003,1008)
ROUT:SCAN (@1003,1008)
TRIG:COUN 10

INIT

The following program segment configures the internal DMM for an ac voltage measurement (no <ch_list> is specified) and sets the trigger count to 5. For each trigger received, one reading is returned (5 readings total).   

CONF:VOLT:AC
TRIG:COUN 5

INIT

The following query returns the current trigger count.

TRIG:COUN?

Typical Response:  +5.00000000E+00

See Also

ROUTe:CHANnel:ADVance:SOURce

ROUTe:SCAN

SAMPle:COUNt

SWEep:COUNt

TRIGger:SOURce

TRIGger:TIMer