set_sweep
Set the output sweep parametersParameters
number
Sweep start frequency
default: 0
allowed values:Moku:Lab 10e-3 to 200e6 Moku:Go 10e-3 to 20e6 Moku:Pro 10e-3 to 300e6
units: Hz
number
Sweep stop frequency
default: 0
allowed values:Moku:Lab 10e-3 to 200e6 Moku:Go 10e-3 to 20e6 Moku:Pro 10e-3 to 300e6
units: Hz
integer
Number of points in the sweep (rounded to nearest power of 2)
default: 512
number
Minimum averaging time per sweep point.
default: 0
allowed values:1e-6 to 10
units: Seconds
integer
Minimum averaging cycles per sweep point.
default: 0
allowed values:1 to 1048576
number
Minimum settling time per sweep point.
default: 0
allowed values:1e-6 to 10
units: Seconds
integer
Minimum settling cycles per sweep point.
default: 0
allowed values:1 to 1048576
boolean
Enable/disable dynamic amplitude
default: false
boolean
Enables linear scale. If set to false scale is set to logarithmic.
default: false
boolean
Disable all implicit conversions and coercions.
default: true
# Sample response
{
"averaging_cycles": 1,
"averaging_time": 0.01,
"estimated_sweep_time": 10.492993950848678,
"num_points": 512,
"settling_cycles": 1,
"settling_time": 0.01,
"start_frequency": 10000000.0,
"stop_frequency": 100.0
}
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10