Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command reference2461-901-01 A/November 2015 6-187DetailsThis command defines a trigger model building block that branches to another block using a counterto iterate a specified number of times.Counters increment every time the trigger model reaches them until they are more than or equal tothe 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 incrementedimmediately 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.ExampleTRIG:LOAD "EMPTY"TRIG:BLOC:BUFF:CLEAR 1TRIG:BLOC:MEAS 2TRIG:BLOC:BRAN:COUN 3, 5, 2TRIG:BLOC:DEL:CONS 4, 1TRIG:BLOC:BRAN:COUN 5, 3, 2Reset trigger model settings.Clear defbuffer1 at the beginning of thetrigger 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 indefbuffer1.Also see:TRIGger:BLOCk:BRANch:COUNter:COUNt? (on page 6-187):TRIGger:BLOCk:BRANch:COUNter:COUNt?This command returns the count that the trigger model is on.Type Affected by Where saved Default valueQuery only Recall settingsInstrument resetPower cycleNot applicable Not applicableUsage:TRIGger:BLOCk:BRANch:COUNter:COUNt? The sequence of the block in the trigger modelDetailsThe query returns the number of times the trigger model has looped. The counter is defined by:TRIGger:BLOCk:BRANch:COUNter.