set_event_detector

Configures the event detector for the given channel

Parameters

integer required
The numerical id of the event
string required
Event source
allowed values:
Moku:LabInputA, InputB, Input1, Input2, Ext.trig.
Moku:GoInputA, InputB, Input1, Input2
Moku:ProInputA, InputB, Input1, Input2, Input3, Input4, Ext.trig.
number
When the selected edge of the input signal voltage crosses a user-input threshold voltage, the device detects an event. The trigger level must be within the bounds of the signal to detect events
default: 0
units: V
string
The edge chosen for event detection.The device will look for an event on the selected edge, each time the selected edge passes through the event detectors.
default: Rising
allowed values:Rising, Falling , Both
boolean
Disable all implicit conversions and coercions.
default: true

# Examples