Section 8: TSP command reference Model 2461 Interactive SourceMeter® Instrument Reference Manual8-240 2461-901-01 A/November 2015DetailsThis function waits for an event blender trigger event. If one or more trigger events were detectedsince the last time trigger.blender[N].wait() or trigger.blender[N].clear() wascalled, this function returns immediately.After detecting a trigger with this function, the event detector automatically resets and rearms. This istrue regardless of the number of events detected.Exampledigio.line[3].mode = digio.MODE_TRIGGER_INdigio.line[5].mode = digio.MODE_TRIGGER_INtrigger.digin[3].edge = trigger.EDGE_FALLINGtrigger.digin[5].edge = trigger.EDGE_FALLINGtrigger.blender[1].orenable = truetrigger.blender[1].stimulus[1] = trigger.EVENT_DIGIO3trigger.blender[1].stimulus[2] = trigger.EVENT_DIGIO5print(trigger.blender[1].wait(3))Generate a trigger blender 1event when a digital I/Otrigger happens on line 3 or5.Wait 3 s while checking iftrigger blender 1 event hasoccurred.Also seetrigger.blender[N].clear() (on page 8-236)trigger.clear()This function clears any pending command triggers.Type TSP-Link accessible Affected by Where saved Default valueFunction YesUsagetrigger.clear()DetailsA command trigger indicates if a trigger event has been detected over a command interface since thelast trigger.wait() command was sent. Command triggers are generated by:• Sending *TRG over a remote interface• GET bus commands• VXI-11 device trigger commandstrigger.clear() clears the command triggers and discards the history of trigger events.