Schedule.alarm[N].Repetition; Schedule.alarm[N].Seconds - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Series 3700A System Switch/Multimeter Reference Manual

schedule.alarm[N].repetition

This attribute describes the number of times an alarm repeats after the first alarm firing.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
count = schedule.alarm[N].repetition
schedule.alarm[N].repetition = count
count
N
Details
The alarm will fire a total of count+1 times. If 0 and period is non-zero, the alarm fires forever.
Once an alarm begins, the repetition counts down for each trigger generated. It ends at zero (0). You
must set this repetition back to some value if you intend to reissue the alarm. Otherwise, the alarm
will either not fire (if the period is zero) or fire forever (if period is non-zero).
Example
schedule.alarm[1].repetition = 10
Also see
schedule.alarm[N].enable

schedule.alarm[N].seconds

The seconds portion of the alarm time in UTC seconds.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
value = schedule.alarm[N].seconds
schedule.alarm[N].seconds = value
value
N
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
local l_myTime
l_myTime = os.time{year = 2008, month = 3, day = 15, hour = 10}
schedule.alarm[1].seconds = l_myTime
Create an alarm to occur on March 15, 2008 at 10 am in UTC seconds.
3700AS-901-01 Rev. D/June 2018
Affected by
Reset
Recall setup
The number of repetitions
Alarm 1 or 2
(on page 11-338)
Affected by
Reset
Seconds portion of the alarm time in UTC seconds
Alarm number (1 or 2)
Section 11: TSP command reference
Where saved
Default value
Save setup
0
Set the alarm to fire 10 times.
Where saved
Default value
Not saved
0
11-341

Advertisement

Table of Contents
loading

Table of Contents