
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-266
2461-901-01 A/November 2015
trigger.model.load() — LogicTrigger
This function loads a predefined trigger model configuration that sets up a logic trigger through the digital 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
,
sDelay
)
trigger.model.load("LogicTrigger",
digInLine
,
digOutLine
,
count
,
clear
,
sDelay,
bufferName
)
trigger.model.load("LogicTrigger",
digInLine
,
digOutLine
,
count
,
clear
,
sDelay,
bufferName
,
readingBlock
)
digInLine
The digital input line (1 to 6); also the event that the trigger model will wait
on in block 1
digOutLine
The digital output line (1 to 6)
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
sDelay
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 event to occur, makes a measurement, and issues a notify
event. The notify event asserts a digital 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.