Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-259
trigger.clear()
This function clears any pending command triggers.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.clear()
Details
A command trigger indicates if a trigger event has been detected over a command interface since the
last
trigger.wait()
command was sent. Command triggers are generated by:
•
Sending
*TRG
over a remote interface
•
GET
bus commands
•
VXI-11 device trigger commands
trigger.clear()
clears the command triggers and discards the history of trigger events.
Example
*TRG
print(trigger.wait(1))
trigger.clear()
print(trigger.wait(1))
Generate a trigger event.
Check if there are any pending trigger
events.
Output:
true
Clear any pending command triggers.
Check if there are any pending trigger
events.
Output:
false
Also see
(on page 8-345)