![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478740.webp)
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-209
trigger.model.setblock() — trigger.BLOCK_MEASURE
This function defines a trigger block that makes a measurement.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script Not applicable
Usage
trigger.model.setblock(
blockNumber
, trigger.BLOCK_MEASURE)
trigger.model.setblock(
blockNumber
, trigger.BLOCK_MEASURE,
bufferName
)
blockNumber
The sequence of the block in the trigger model
bufferName
The name of the buffer, which must be an existing buffer; if no
buffer is defined,
defbuffer1
is used
Details
When the trigger model reaches the measurement block:
1. The instrument makes a reading.
2. The trigger model waits for the measurement to complete.
3. The instrument places the measurement into the specified reading buffer. If no buffer is specified, the
reading is placed into the default buffer (
defbuffer1
).
If you are defining a specific reading buffer, you must create it before you define this block.
Example
trigger.model.setblock(4,
trigger.BLOCK_MEASURE)
Make a measurement when the trigger
model reaches block 4 and stores the
setting in
defbuffer1
Also see
(on page 8-11)
(on page 3-96)