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 Moku:Delta 1, 2, 3, 4, 5, 6, 7, 8
string required
Trigger source
allowed values:Moku:Lab Input1, Input2, Output1, Output2, Internal, Manual Moku:Go Input1, Input2, Output1, Output2, Internal, Manual Moku:Pro Input1, Input2, Input3, Input4, Output1, Output2, Output3, Output4, Internal, Manual Moku:Delta Input1, Input2, Input3, Input4, Input5, Input6, Input7, Input8, Output1, Output2, Output3, Output4, Output5, Output6, Output7, Output8, Internal, Ext. trig., Manual
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 Moku:Delta 1e-3 to 2e9
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 Moku:Delta -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