sa_output

Generate a sinewave on the output channels.

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
number required
The peak-to-peak amplitude of the output sinewave (On Moku:Pro, the output sine wave amplitude is limited to -1V to 1V above 100 MHz)
allowed values:
Moku:Lab1e-3 to 4
Moku:Go1e-3 to 10
Moku:Pro1e-3 to 10
number required
Frequency of the output sinewave. (For sine waves with amplitude above 2Vpp, the maximum frequency is 100 MHz on Moku:Pro)
allowed values:
Moku:Lab0 to 250e6
Moku:Go0 to 30e6
Moku:Pro0 to 500e6
units: Hz
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "amplitude": 0.5,
    "frequency": 100000.0
}
1
2
3
4