
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.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Reset
Recall setup
Not saved
0 (schedule.OFF)
Usage
state
= schedule.alarm[
N
].enable
schedule.alarm[
N
].enable =
state
state
Disable the alarm
(schedule.OFF
or
0
)
Enable the alarm
(schedule.ON
or
1
)
N
Alarm number (1 or 2)
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
Enables alarm 1.
Also see
(on page 11-338)
schedule.alarm[N].fractionalseconds
(on page 11-339)
(on page 11-340)
(on page 11-340)
(on page 11-341)
(on page 11-341)
(on page 11-342)
schedule.alarm[N].EVENT_ID
This constant describes the trigger event generated by the alarm
N
.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Constant
Yes
Usage
eventID
= schedule.alarm[
N
].EVENT_ID
eventID
The trigger event number
N
Alarm number (1 or 2)