High Voltage SourceMeter Instrument Reference Manual Section 14: TSP command refe
2470-901-01 Rev. A / May 2019 14-255
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])
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:
5e-05
0.0001
Also see
trigger.timer[N].reset() (on page 14-256)
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.
To use the timer as a simple delay or pulse generator with digital I/O lines, make sure the timer start
time in seconds and fractional seconds is configured for a time in the past. To use the timer as an
alarm, configure the timer start time in seconds and fractional seconds for the desired alarm time.
Example
trigger.timer[3].enable = trigger.ON
Enable the trigger timer for timer 3.
Also see
None