Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-268
DMM7510-901-01 Rev. B / May 2015
Example
-- Set the external I/O trigger line for a falling edge
trigger.extin.edge = trigger.EDGE_RISING
-- Set the logic to negative
trigger.extout.logic = trigger.LOGIC_NEGATIVE
--Set the stimulus to timer 3
trigger.extout.stimulus = trigger.EVENT_TIMER3
-- Print configuration (before reset)
print(trigger.extin.edge, trigger.extout.logic, trigger.extout.stimulus)
-- Reset the external in/out line to default values.
trigger.ext.reset()
-- Print configuration (after reset)
print(trigger.extin.edge, trigger.extout.logic, trigger.extout.stimulus)
Output before reset:
trigger.EDGE_RISING trigger.LOGIC_NEGATIVE trigger.EVENT_TIMER3
Output after reset:
trigger.EDGE_FALLING trigger.LOGIC_NEGATIVE trigger.EVENT_NONE
Also see
(on page 8-271)
(on page 8-272)
trigger.extin.clear()
This function clears the trigger event on the external in line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.extin.clear()
Details
The event detector of a trigger enters the detected state when an event is detected. This command
clears the event detector, discards the history, and clears the overrun status (sets the overrun status
to false).
Example
trigger.extin.clear()
Clears the trigger event detector.
Also see
(on page 8-269)