User manual

Section 11: LXI Class B Triggering (IEEE-1588) Series 3700 System Switch/Multimeter Reference Manual
11-6 3700S-901-01 Rev. C / July 2008
You can also schedule alarms to occur at a fractional second using either PTP
or UTC format with schedule.alarm[x].fractionalseconds (on page 13-
250).
After defining the alarm, configure the number of times you would like to repeat
this alarm using schedule.alarm[x].repetition (on page 13-251). Use
schedule.alarm[x].period (on page 13-251) to configure the amount of
time, in seconds, between adjacent firings of the alarm. If you want the alarm to
fire just once, set schedule.alarm[x].period to zero. If you want the alarm
to repeat forever, set schedule.alarm[x].period to a non-zero value and
set schedule.alarm[x].repetition to zero.
Enable the alarm by setting schedule.alarm[x].enable (on page 13-250)
to 1. Disable an alarm by setting schedule.alarm[x].enable to 0. Disable
all alarms using schedule.disable() (on page 13-252).
Monitoring alarms with LAN triggers and LXI event log
Use the LXI event log to monitor the firing of scheduled alarms. The LXI event
log in the Series 3700 only captures LAN triggers that occur within its defined
LXI domain. To monitor alarms, configure the alarm to generate a LAN trigger by
using schedule.alarm[x].EVENT_ID (on page 13-250) as the control
source for lan.trigger[N].stimulus (on page 13-208) in the trigger model.
You can define up to eight LAN triggers.
Use lan.lxidomain (on page 13-197) to specify the LXI domain. Additionally,
you can broadcast LAN triggers to all devices on a LXI domain, or you can
transmit LAN triggers between two individual devices. To configure the LAN
trigger broadcast, use lan.trigger[N].protocol (on page 13-207).
The following example demonstrates how to generate a LAN trigger when a
scheduled alarm fires:
-- configure the LXI domain
lan.lxidomain=0
-- configure the LXI trigger to broadcast to all devices in
this LXI domain
lan.trigger[2].protocol=2
lan.trigger[2].connect()
-- associate the firing of the alarm to the generation of a
LAN trigger
lan.trigger[2].stimulus = schedule.alarm[1].EVENT_ID