Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-288
DMM7510-901-01 Rev. B / May 2015
trigger.model.load() — Duration Loop
This function loads a predefined trigger model configuration that makes continuous measurements for a specified
amount of time.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.model.load("DurationLoop",
duration
)
trigger.model.load("DurationLoop",
duration
,
delay
)
trigger.model.load("DurationLoop",
duration
,
delay
,
bufferName
)
trigger.model.load("DurationLoop",
duration
,
delay
,
bufferName
,
readingBlock
)
duration
The amount of time for which to make measurements (500 ns to 100 ks)
delay
The delay time before each measurement (167 ns to 10 ks); default is 0 for no delay
bufferName
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer; defaults to
defbuffer1
readingBlock
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 model
Details
When you load this predefined trigger model, you can specify amount of time to make a
measurement and the length of the delay before the measurement.
The out line of the EXT TRIG IN/OUT rear-panel terminal is asserted at the end of each
measurement.
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.
Example
reset()
-- Set up measure function
dmm.measure.func = dmm.FUNC_DC_CURRENT
-- Initiate readings
trigger.model.load("DurationLoop", 10, 0.01)
trigger.model.initiate()
Reset the instrument.
Set the instrument to measure current.
Load the duration loop trigger model to take measurements for 10 s with a 10 ms delay before each
measurement.
Start the trigger model.
Also see
None