8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-270 2461-901-01 A/November 2015
trigger.model.load() — SimpleLoop
This function loads a predefined trigger model configuration that makes a specific number of measurements.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
trigger.model.load("SimpleLoop", count)
trigger.model.load("SimpleLoop", count, sDelay)
trigger.model.load("SimpleLoop", count, sDelay, bufferName)
trigger.model.load("SimpleLoop", count, sDelay, bufferName, readingBlock)
The number of measurements the instrument will make
The delay time before each measurement (167 ns to 10 ks); default is 0 for
no delay
Indicates the reading buffer to use; the default buffers (defbuffer1 or
defbuffer2) or the name of a user-defined buffer; if no buffer is
specified,
is used
Define a measure or digitize block for the trigger model; options are:
• trigger.READING_ACTIVE: Add a measure or digitize block to the
trigger model based on the active function; if no option defined,
trigger.READING_ACTIVE is used
• trigger.READING_MEASURE: Adds a measure block to the trigger
model
• trigger.READING_DIGITIZE: Adds a digitize block to the trigger
Details
This command sets up a loop that sets a delay, makes a measurement, and then repeats the loop the
number of times you define in the count parameter.
After selecting a trigger model template, you can view the trigger model blocks in a graphical format
by pressing the front-panel MENU key and under Trigger, selecting Configure. You can also add or
delete blocks and change trigger model settings from this screen. You can use the
trigger.model.getblocklist() command to view the trigger model blocks in a list format.