User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-250 3700S-901-01 Rev. C / July 2008
scan.trigger.sequence.stimulus
Also see
scan.trigger.measure.stimulus (on page 13-247)
Example
To set trigger stimulus of the sequence event detector to channel ready event:
scan.trigger.sequence.stimulus =
scan.trigger.EVENT_CHAN_READY
schedule functions and attributes
Use these functions to configure the scheduled alarm events. These events are
generated at times defined by these ICLs. The generated triggers can then be
used to drive other event driven components, such as digital I/O, scan trigger
model, event blenders, etc. If the system time is driven by IEEE-1588, then the
alarms use that time clock. Otherwise, the alarms use the standard CPU clock.
schedule.alarm[x].enable
Attribute
Enable or disable an alarm.
Usage
status = schedule.alarm[x].enable
status: The enable or disable status of the alarm. Use one of the following:
eventlog.ENABLE or 1: enable alarm
eventlog.DISABLE or 0: disable alarm
Remarks
When enabling an alarm with a set start time in the past, the alarm executes
immediately.
When used to start a scan, an alarm time in the past may be missed by the scan start.
The scan clears any pending triggers before it begins and therefore will miss the any
trigger generated from the alarm enable. To ensure this does not happen, start the
scan in the background then enable the alarm.
Example
Enable an alarm:
schedule.alarm[1].enable = 1
schedule.alarm[x].EVENT_ID
Function
The event identifier constant for use with the stimulus attribute.
Usage
schedule.alarm[x].EVENT_ID
Example
Command a scan to occur when alarm 1 fires:
scan.trigger.arm.stimulus = schedule.alarm[1].EVENT_ID
schedule.alarm[x].fractionalseconds
Attribute
The fractional seconds portion of the alarm time.
Usage
schedule.alarm[x].fractionalseconds [= fraction]
Remarks
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).