8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-304 2461-901-01 A/November 2015
Details
Each time the timer is triggered after it is enabled, it uses the next delay period from the array. The
default value is an array with one value of 10 µs.
After all elements in the array have been used, the delays restart at the beginning of the list.
If the array contains more than one element, the average of the delay intervals in the list must be
≥ 50 µs.
Example
trigger.timer[3].delaylist = {50e-6, 100e-6, 150e-6}
DelayList = trigger.timer[3].delaylist
for x = 1, table.getn(DelayList) do
print(DelayList[x])
end
Set a delay list on trigger timer 3
with three delays (50 µs, 100 µs,
and 150 µs).
Read the delay list on trigger
timer 3.
Output (ass
set to 50 µs, 100 µs, and 150 µs):
5.000000000e-05
1.000000000e-04
Also see
trigger.timer[N].reset() (on page 8-305)
trigger.timer[N].enable
This attribute enables the trigger timer.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
Usage
state = trigger.timer[N].enable
trigger.timer[N].enable = state
Disable the trigger timer: trigger.OFF
Enable the trigger timer:
Trigger timer number (1 to 4)
Details
When this command is set to on, the timer performs the delay operation.
When this command is set to off, there is no timer on the delay operation.
You must enable a timer before it can use the delay settings or the alarm configuration. For expected
results from the timer, it is best to disable the timer before changing a timer setting, such as delay or
start seconds.