Trigger:block:branch:counter - Tektronix Keithley SourceMeter 2470 Reference Manual

High voltage instrument
Hide thumbs Also See for Keithley SourceMeter 2470:
Table of Contents

Advertisement

2470 High Voltage SourceMeter Instrument Reference Manual

:TRIGger:BLOCk:BRANch:COUNter

This command defines a trigger model block that branches to a specified block a specified number of times.
Type
Command only
Usage
:TRIGger:BLOCk:BRANch:COUNter <blockNumber>, <targetCount>, <branchToBlock>
<blockNumber>
<targetCount>
<branchToBlock>
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. At that point, the trigger model continues to the next building block in the sequence.
If you are using remote commands, you can query the counter. The counter is incremented
immediately before the branch compares the actual counter value to the set counter value. Therefore,
the counter is at 0 until the first comparison. When the trigger model reaches the set counter value,
branching stops and the counter value is one greater than the setting. Use
:TRIGger:BLOCk:BRANch:COUNter:COUNt? to query the 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
Reset trigger model settings.
Clear defbuffer1 at the beginning of the trigger model.
Loop and make five readings.
Delay a second.
Loop three more times back to block 2.
At end of execution, 15 readings are stored in defbuffer1.
Also see
:TRIGger:BLOCk:BRANch:COUNter:COUNt?
2470-901-01 Rev. A / May 2019
Affected by
Recall settings
Instrument reset
Power cycle
The sequence of the block in the trigger model
The number of times to repeat
The block number of the trigger model block to execute when the counter is less than
to the <targetCount> value
Where saved
Save settings
(on page 12-148)
Section 12: SCPI command reference
Default value
Not applicable
12-147

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley SourceMeter 2470 and is the answer not in the manual?

Table of Contents

Save PDF