
Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-294
DMM7510-901-01 Rev. B / May 2015
trigger.model.load() — LogicTrigger
This function loads a predefined trigger model configuration that sets up a logic trigger through the digital or
external I/O.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.model.load("LogicTrigger",
digInLine
,
digOutLine
,
count
,
clear
)
trigger.model.load("LogicTrigger",
digInLine
,
digOutLine
,
count
,
clear
,
delay
)
trigger.model.load("LogicTrigger",
digInLine
,
digOutLine
,
count
,
clear
,
delay,
bufferName
)
trigger.model.load("LogicTrigger",
digInLine
,
digOutLine
,
count
,
clear
,
delay,
bufferName
,
readingBlock
)
digInLine
The digital input line (1 to 6) or external input line (7); also the event that the trigger
model will wait on in block 1
digOutLine
The digital output line (1 to 6) or external input line (7)
count
The number of measurements the instrument will make
clear
To clear previously detected trigger events when entering the wait block:
trigger.CLEAR_ENTER
To immediately act on any previously detected triggers and not clear them (default):
trigger.CLEAR_NEVER
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
This trigger model waits for a digital input or external trigger input event to occur, makes a
measurement, and issues a notify event. If a digital output line is selected, a notify event asserts a
digital output line. A notify event asserts the external output line regardless of the line settings. You
can set the line to
7
to assert only the external output line, or to another setting to assert both a digital
output line and the external output line.
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.
This command replaces the
trigger.model.load() — ExtDigTrigger
command, which is
deprecated.
The following usage has been deprecated; replace it with the usage above that includes the
clear
parameter.