Trigger:block:branch:counter:count - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
Details
This command defines a trigger model building block that branches to another block using a counter to iterate a
specified number of times.
Counters increment every time the trigger model reaches them until they are more than or equal to the count
value.
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
Also see

:TRIGger:BLOCk:BRANch:COUNter:COUNt?

:TRIGger:BLOCk:BRANch:COUNter:COUNt?
This command returns the count that the trigger model is on.
Type
Query only
Usage
:TRIGger:BLOCk:BRANch:COUNter:COUNt? <blockNumber>
<blockNumber>
Details
The query returns the number of times the trigger model has looped. The counter is defined by
:TRIGger:BLOCk:BRANch:COUNter.
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
TRIG:BLOCK:BRAN:COUN:COUN? 5
Also see
:TRIGger:BLOCk:BRANch:COUNter
2450-901-01 Rev. B/September 2013
Affected by
Recall settings
Instrument reset
Power cycle
The sequence of the block in the trigger model
(on page 6-128)
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.
At end of execution, 15 readings are stored in
defbuffer1.
(on page 6-129)
Where saved
Not applicable
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.
At end of execution, 15 readings are stored in
defbuffer1.
Check to see which count the trigger model has
completed.
Section 6: SCPI command reference
Default value
Not applicable
6-129

Advertisement

Table of Contents
loading

Table of Contents