User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-245
scan.trigger.arm.stimulus
Remarks
This attribute selects which event(s) will cause the arm event detector to enter the
detected state. Set this attribute to 0 to bypass waiting for an event.
eventid may be one of the following (existing trigger event IDs):
digio.trigger[N].EVENT_ID: An edge (either rising, falling, or either based on the
configuration of the line) on the digital input line.
display.trigger.EVENT_ID: The trigger key on the front panel is pressed.
trigger.EVENT_ID: A *trg message on the active command interface. If GPIB is the
active command interface, a GET message will also generate this event.
trigger.blender[N].EVENT_ID: A combination of configured events has occurred.
trigger.timer[N].EVENT_ID: A delay expired.
tsplink.trigger[N].EVENT_ID: An edge (either rising, falling, or either based on the
configuration of the line) on the tsplink trigger line.
lan.trigger[N].EVENT_ID
scan.trigger.EVENT_SCAN_READY: Scan Ready Event.
scan.trigger.EVENT_SCAN_START: Scan Start Event
scan.trigger.EVENT_CHANNEL_READY: Channel Ready Event
scan.trigger.EVENT_MEASURE_COMP: Measure Complete Event
scan.trigger.EVENT_SEQUENCE_COMP: Sequence Complete Event
scan.trigger.EVENT_SCAN_COMP: Scan Complete Event
scan.trigger.EVENT_IDLE: Idle Event
NOTE Use the ICL define to set the stimulus value rather than the define value.
Doing this will make the code compatible for future upgrades because it
may need to change when enhancements are added to the instrument.
Example
To set trigger stimulus of the arm event detector to line 3 of digital I/O:
scan.trigger.arm.stimulus =
digio.trigger[3].EVENT_ID
To clear trigger stimulus of the arm event detector:
scan.trigger.arm.stimulus = 0
scan.trigger.channel.clear()
Function
Clear the channel event detector.
Usage
scan.trigger.channel.clear()
Remarks
This function will clear the channel event detector of the trigger model to the
undetected state.
Example
To clear the channel event detector:
scan.trigger.channel.clear()