
Section 6: SCPI command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
6-188
2461-901-01 A/November 2015
Example
TRIG:LOAD "Empty"
TRIG:BLOC:BUFF:CLEAR 1
TRIG:BLOC:MEAS 2
TRIG:BLOC:BRAN:COUN 3, 5, 2
TRIG:BLOC:DEL:CONS 4, 1
TRIG:BLOC:BRAN:COUN 5, 3, 2
INIT
*WAI
TRIG:BLOCK:BRAN:COUN:COUN?
Reset trigger model settings.
Clear
defbuffer1
at the beginning of the
trigger model.
Loop and take 5 readings.
Delay 1 s.
Loop three more times back to block 2.
At end of execution, 15 readings are stored in
defbuffer1
.
Check to see which count the trigger model has
completed.
Also see
(on page 6-186)
:TRIGger:BLOCk:BRANch:COUNter:RESet
This command creates a block in the trigger model that resets a branch counter to 0.
Type
Affected by
Where saved
Default value
Command only
Recall settings
Instrument reset
Power cycle
Save settings
Not applicable
Usage
:TRIGger:BLOCk:BRANch:COUNter:RESet <blockNumber>, <counter>
<blockNumber>
The sequence of the block in the trigger model
<counter>
The block number of the counter that is to be reset
Details
When the trigger model reaches the Counter Reset block, it resets the count of the specified Branch
on Counter block to zero.
Example
TRIG:LOAD "EMPTY"
TRIG:BLOC:BUFF:CLEAR 1
TRIG:BLOC:MEAS 2
TRIG:BLOC:BRAN:COUN 3, 5, 2
TRIG:BLOC:DEL:CONS 4, 1
TRIG:BLOC:BRAN:COUN 5, 3, 2
TRIG:BLOC:BRAN:COUN:RES 6, 3
Reset trigger model settings.
Clear
defbuffer1
at the beginning of the
trigger model.
Loop and take 5 readings.
Delay a second.
Loop three more times back to block 2.
Reset block 3 to 0.
Also see
(on page 6-186)
:TRIGger:BLOCk:BRANch:COUNter:COUNt?