set_sweep_mode

Configures sweep modulation on a given channel

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
string required
Trigger source
allowed values:
Moku:LabInput1, Input2, Output1, Output2, Internal
Moku:GoInput1, Input2, Output1, Output2, Internal
Moku:ProInput1, Input2, Input3, Input4, Output1, Output2, Output3, Output4, Internal
Sweep stop Frequency
default: 30000000
allowed values:
Moku:Lab1e-3 to 100e6
Moku:Go1e-3 to 20e6
Moku:Pro1e-3 to 150e6
units: Hz
number
Duration of sweep
default: 1
allowed values:1 cycle period to 1e3
units: Seconds
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