set_sweep

Set the output sweep parameters

Parameters

Sweep start frequency
default: 0
allowed values:
Moku:Lab10e-3 to 200e6
Moku:Go10e-3 to 20e6
Moku:Pro10e-3 to 300e6
units: Hz
Sweep stop frequency
default: 0
allowed values:
Moku:Lab10e-3 to 200e6
Moku:Go10e-3 to 20e6
Moku:Pro10e-3 to 300e6
units: Hz
integer
Number of points in the sweep (rounded to nearest power of 2)
default: 512
Minimum averaging time per sweep point.
default: 0
allowed values:1e-6 to 10
units: Seconds
Minimum averaging cycles per sweep point.
default: 0
allowed values:1 to 1048576
Minimum settling time per sweep point.
default: 0
allowed values:1e-6 to 10
units: Seconds
Minimum settling cycles per sweep point.
default: 0
allowed values:1 to 1048576
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