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
Moku:Delta1, 2, 3, 4, 5, 6, 7, 8
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:Lab2e-3 to 4
Moku:Go2e-3 to 10
Moku:Pro1e-3 to 10
Moku:Delta1e-3 to 10 (On Moku:Delta platform, signals above 100 MHz are limited to ±500mV)
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:
Moku:Lab-2 to 2
Moku:Go-5 to 5
Moku:Pro-10 to 10, -2 to 2 > 100 MHz
Moku:Delta-5 to 5, -499.5-3 to 499.5-3 > 100 MHz
units: V
boolean
Disable all implicit conversions and coercions.
default: true

# Sample response

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