set_sweep_mode
Configures sweep modulation on a given channelParameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4
string required
Trigger source
allowed values:Moku:Lab Input1, Input2, Output1, Output2, Internal Moku:Go Input1, Input2, Output1, Output2, Internal Moku:Pro Input1, Input2, Input3, Input4, Output1, Output2, Output3, Output4, Internal
number
Sweep stop Frequency
default: 30000000
allowed values:Moku:Lab 1e-3 to 100e6 Moku:Go 1e-3 to 20e6 Moku:Pro 1e-3 to 150e6
units: Hz
number
Duration of sweep
default: 1
allowed values:1 cycle period to 1e3
units: Seconds
number
Trigger threshold level
default: 0
allowed values:Moku:Lab -5 to 5 Moku:Go -5 to 5 Moku:Pro -20 to 20
units: V
boolean
Disable all implicit conversions and coercions.
default: true
# Sample response
{
"source": "Input1",
"stop_frequency": 10.0,
"sweep_time": 3.0,
"trigger_level": 0.1
}
1
2
3
4
5
6
2
3
4
5
6