set_trigger
Sets trigger source and parameters.Parameters
string
Trigger type
default: Edgeallowed values:Edge, Pulse, Runt string
Trigger channel
default: Input1allowed values:Moku:Lab ChannelA, ChannelB, Input1, Input2, Output1, Output2, External Moku:Go ChannelA, ChannelB, Input1, Input2, Output1, Output2 Moku:Pro ChannelA, ChannelB, ChannelC, ChannelD, Input1, Input2, Input3, Input4, Output1, Output2, Output3, Output4, External Moku:Delta ChannelA, ChannelB, ChannelC, ChannelD, ChannelE, ChannelF, ChannelG, ChannelH, Input1, Input2, Input3, Input4, Input5, Input6, Input7, Input8, Output1, Output2, Output3, Output4, External
number
Trigger level
default: 0allowed values:Moku:Lab -5 to 5 Moku:Go -5 to 5 Moku:Pro -20 to 20 Moku:Delta -20 to 20
units: V number
Low trigger level (Runt mode only)
default: 0allowed values:Moku:Lab -5 to 5 Moku:Go -5 to 5 Moku:Pro -20 to 20 Moku:Delta -20 to 20
units: V number
High trigger level (Runt mode only)
default: 0.1allowed values:Moku:Lab -5 to 5 Moku:Go -5 to 5 Moku:Pro -20 to 20 Moku:Delta -20 to 20
units: V string
Trigger mode
default: Autoallowed values:Auto, Normal string
Which edge to trigger on. In Pulse Width modes this specifies whether the pulse is positive (rising) or negative (falling), with the 'both' option being invalid
default: Risingallowed values:Rising, Falling, Both string
Trigger pulse polarity (Pulse and Runt mode)
default: Positiveallowed values:Positive, Negative number
Width of the trigger pulse (Pulse mode only)
default: 0.0001allowed values:Moku:Lab 184e-9 to 10 Moku:Go 480e-9 to 10 Moku:Pro 24.51e-6 to 10 Moku:Delta 164.0e-9 to 10
units: Seconds string
Trigger pulse width condition (pulse mode only)
default: LessThanallowed values:GreaterThan, LessThan integer
The number of trigger events to wait for before triggering
default: 1allowed values:0 to 65535 number
The duration to hold-off Oscilloscope trigger post trigger event
default: 0allowed values:0 to 10units: Seconds number
Absolute hysteresis around trigger
default: 0.001units: V boolean
Configure auto or manual hysteresis for noise rejection.
default: true boolean
Configure the Oscilloscope with a small amount of hysteresis to prevent repeated triggering due to noise
default: false boolean
Configure the trigger signal to pass through a low pass filter to smooth out the noise
default: false boolean
Disable all implicit conversions and coercions.
default: trueTIP
To mimic the Single trigger mode, configure the trigger mode to Normal and call the get_data method exactly once.
# Examples
# Sample Response
{
"auto_sensitivity": true,
"edge": "Rising",
"hf_reject": false,
"holdoff": 0.0,
"level": 0.0,
"noise_reject": false,
"nth_event": 1
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
← set_timebase summary →