Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-260
DMM7510-901-01 Rev. B / May 2015
trigger.digin[N].clear()
This function clears the trigger event on a digital input line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.digin[
N
].clear()
N
Digital I/O trigger line (1 to 6)
Details
The event detector of a trigger enters the detected state when an event is detected. For the specified
trigger line, this command clears the event detector, discards the history, and clears the overrun
status
(
sets the overrun status to
false
).
Example
trigger.digin[2].clear()
Clears the trigger event detector on I/O line 2.
Also see
(on page 8-52)
Digital I/O port configuration
(on page 3-49)
(on page 8-261)
(on page 8-262)
trigger.digin[N].edge
This attribute sets the edge used by the trigger event detector on the given trigger line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
trigger.EDGE_FALLING
Usage
detectedEdge
= trigger.digin[
N
].edge
trigger.digin[
N
].edge =
detectedEdge
detectedEdge
The trigger logic value:
•
Detect falling-edge triggers as inputs:
trigger.EDGE_FALLING
•
Detect rising-edge triggers as inputs:
trigger.EDGE_RISING
•
Detect either falling or rising-edge triggers as inputs:
trigger.EDGE_EITHER
•
See
Details
for descriptions of values
N
Digital I/O trigger line (1 to 6)