Series 3700A System Switch/Multimeter Reference Manual  Section 11: TSP command reference 
3700AS-901-01 Rev. D/June 2018  11-339 
 
Details 
To have another trigger object respond to trigger events generated by the schedule alarm, set the 
other object's stimulus attribute to the value of this constant. 
 
Example 
 
scan.trigger.arm.stimulus = schedule.alarm[1].EVENT_ID 
Uses a trigger event on alarm 1 to be the stimulus for the trigger arm. 
Also see 
None 
 
schedule.alarm[N].fractionalseconds 
This attribute describes the fractional seconds portion of the alarm time. 
Usage 
schedule.alarm[N].fractionalseconds = fraction 
fraction = schedule.alarm[N].fractionalseconds  
 
The fractional seconds portion of the alarm time 
 
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 
 
-- get current time and store in variable sec 
sec = os.time() 
-- set alarm 1 seconds to be 1 minute after current time                             
schedule.alarm[1].seconds = sec + 60 
-- set alarm 1 fractional seconds to be 0.5 
schedule.alarm[1].fractionalseconds = 0.5 
print("value of sec is ", sec)  
print("value of alarm 1 seconds is ",  schedule.alarm[1].seconds)  
print("value of alarm 1 fractional seconds is ", 
schedule.alarm[1].fractionalseconds) 
Create an alarm to occur 60.5 seconds from current time in UTC seconds. 
Output: 
value of sec is   1.306405866e+009 
value of alarm 1 seconds is   1.306405926e+009 
value of alarm 1 fractional seconds is  5.000000000e-001 
Also see 
schedule.alarm[N].seconds (on page 11-341)