Section 12: SCPI command reference
2470 High Voltage SourceMeter Instrument Reference Manual
12-148
2470-901-01 Rev. A /
May
2019
:TRIGger:BLOCk:BRANch:COUNter:COUNt?
This command returns the count value of the trigger model counter block.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:TRIGger:BLOCk:BRANch:COUNter:COUNt? <blockNumber>
<blockNumber>
The sequence of the block in the trigger model
Details
This command returns the counter value. When the counter is active, this returns the present count. If
the trigger model has started or is running but has not yet reached the counter block, this value is 0.
Example
*RST
TRIG:BLOC:BUFF:CLEAR 1
TRIG:BLOC:MEAS 2
TRIG:BLOC:MEAS 2
TRIG:BLOC:DEL:CONS 3, 0.1
TRIG:BLOC:BRAN:COUN 4, 10, 2
INIT
TRIG:BLOCK:BRAN:COUN:COUN? 4
*WAI
Reset trigger model settings.
Clear
defbuffer1
at the beginning of the trigger model.
Loop and make five readings.
Delay 0.1 s.
Loop ten more times back to block 2.
Send the count command to check the count that has been completed for block 4.
At end of execution, 10 readings are stored in
defbuffer1
.
Also see
(on page 12-147)