User`s guide

53220A/53230A User’s Guide 153
Triggering and Gating 5
Sample Count
The trigger count multiplied by the sample count (TRIG:COUN x SAMP:COUN)
determines the number of readings taken before the counter returns to the
idle state. The sample count is set with the command:
SAMPle:COUNt {<count>| MINimum|MAXImum|DEFault}
SAMPle:COUNt? [{MINimum|MAXimum|DEFault}] (query form)
The count range is 1 to 1,000,000. CONFigure and MEASure set a default
sample count of ‘1’.
Reading memory can store up to 1,000,000 readings. If the product of the trig-
ger count and the sample count is greater than 1,000,000 readings, data must
be read from reading memory fast enough to prevent memory overflow. If
memory does overflow, new readings will overwrite the first (oldest) readings
stored. The most recent readings are always preserved. See Chapter 8 - “Status
Conditions” for information on monitoring reading memory count.
Sample Count Example
//configure for frequency, set system trigger and sample
//count parameters; take 2 sets of 100 readings
CONF:FREQ 5E6,0.1,(@2)
TRIG:SOUR EXT // trigger source external
TRIG:SLOP POS // external trigger slope - positive
TRIG:DEL 1 // 1s delay after trigger received
TRIG:COUN 2 // accept 2 system triggers
SAMP:COUN 100 // take 100 rdgs for each trigger