Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-340 3700AS-901-01 Rev. D/June 2018
schedule.alarm[N].period
This attribute describes the time, in seconds, between adjacent firings of the alarm.
Create configuration script
Save setup
Usage
value = schedule.alarm[N].period
schedule.alarm[N].period = value
0.5schedule.alarm[1].period = 0.5
Set a period of 0.5 seconds between firings
of alarms after the initial alarm.
Also see
None
schedule.alarm[N].ptpseconds
The seconds portion of the alarm time in PTP seconds.
Usage
schedule.alarm[N].ptpseconds = seconds
seconds = schedule.alarm[N].ptpseconds
The seconds portion of the alarm time in PTP seconds
Details
1588 has too much resolution to represent in a single floating-point value, so the alarm times are split
into two values (seconds and fractional seconds).
Example
sec,ns = ptp.time()
schedule.alarm[1].ptpseconds = sec + 30
Create an alarm to occur 30 seconds from
current time in PTP seconds.
Also see
ptp.utcoffset (on page 11-307)