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:LabChannelA, ChannelB, Input1, Input2, Output1, Output2, External
Moku:GoChannelA, ChannelB, Input1, Input2, Output1, Output2
Moku:ProChannelA, ChannelB, ChannelC, ChannelD, Input1, Input2, Input3, Input4, Output1, Output2, Output3, Output4, External
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