Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-267
Example
trigger.model.load("LogicTrigger", 1, 2, 10, 0.001, defbuffer1)
Set up the template to use the digital in line and wait for a pulse from digital in line 1 to trigger measurements.
Pulse digital out line 2 when the measurement is complete.
Make 10 measurements, with a delay of 1 ms before each measurement.
Store the measurements in
defbuffer1
.
Also see
None
trigger.model.load() — LoopUntilEvent
This function loads a predefined trigger model configuration that makes continuous measurements until the
specified event occurs.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.model.load("LoopUntilEvent",
triggerEvent
,
position, clear
)
trigger.model.load("LoopUntilEvent",
triggerEvent
,
position
,
clear
,
sDelay
)
trigger.model.load("LoopUntilEvent",
triggerEvent
,
position
,
clear
,
sDelay
,
bufferName
)
trigger.model.load("LoopUntilEvent",
triggerEvent
,
position
,
clear
,
sDelay
,
bufferName
,
readingBlock
triggerEvent
The event that ends infinite triggering or readings set to occur before the
trigger; see
Details
position
The number of readings to make in relation to the size of the reading
buffer; enter as a percentage (0 % to 100 %)
clear
To clear previously detected trigger events when entering the wait block
(default):
trigger.CLEAR_ENTER
To immediately act on any previously detected triggers and not clear them:
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