Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-338 3700AS-901-01 Rev. D/June 2018
schedule.alarm[N].enable
This attribute enables or disables an alarm.
Usage
state = schedule.alarm[N].enable
schedule.alarm[N].enable = state
Disable the alarm(schedule.OFF or 0)
Enable the alarm (schedule.ON or 1)
Details
If you enable an alarm that has a start time that is in the past, the alarm executes immediately.
If an alarm time in the past is used to start a scan, the alarm time may be missed by the scan start.
This can occur because the scan clears any pending triggers before it begins, so it will miss any
trigger generated from the alarm enable. To prevent a missed alarm, start the scan in the
background, then enable the alarm.
Example
schedule.alarm[1].enable = 1
Also see
schedule.alarm[N].EVENT_ID (on page 11-338)
schedule.alarm[N].fractionalseconds (on page 11-339)
schedule.alarm[N].period (on page 11-340)
schedule.alarm[N].ptpseconds (on page 11-340)
schedule.alarm[N].repetition (on page 11-341)
schedule.alarm[N].seconds (on page 11-341)
schedule.disable() (on page 11-342)
schedule.alarm[N].EVENT_ID
This constant describes the trigger event generated by the alarm N.
Usage
eventID = schedule.alarm[N].EVENT_ID