set_output

Configures the output sweep amplitude and offset.

Note

Ensure the input signal passing through the device under test will not exceed the input range as configured by set_frontend

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
Enable/disable amplitude on the given channel.
default: true
number required
Waveform peak-to-peak amplitude (For Moku:Pro, the output voltage is limited to between -2 V and 2 V above 100 MHz)
allowed values:
Moku:Lab-2 to 2
Moku:Go-5 to 5
Moku:Pro-10 to 10, -2 to 2 > 100 MHz
units: V
boolean
Enable/disable offset on the given channel.
default: true
number
DC offset applied to the waveform (For Moku:Pro, the output voltage is limited to between -1 V and 1 V above 1 MHz)
default: 0
allowed values:-5 to 5
units: V
boolean
Disable all implicit conversions and coercions.
default: true

# Sample response

{
    "amplitude": 0.1,
    "offset": 0.0
}
1
2
3
4