set_aux_oscillator

Configures the auxiliary oscillator output signal, including amplitude, frequency, and output channel. In the Moku app, this output is labelled “Modulation” and is commonly used for laser modulation.

Parameters

boolean
Enable or disable auxiliary oscillator
default: true
integer
Frequency of the auxiliary oscillator
default: 1000000
allowed values:
Moku:Lab1 mHz to 250 MHz
Moku:Go1 mHz to 20 MHz
Moku:Pro1 mHz to 500 MHz
Moku:Delta1 mHz to 2 GHz
units: Hz
integer
Amplitude of the auxiliary oscillator
default: 0.5
allowed values:
Moku:Lab1 mVpp to 2 Vpp
Moku:Go2 mVpp to 10 Vpp
Moku:Pro1 mVpp to 2 Vpp
Moku:Delta1 mVpp to 1 Vpp
units: V
string
Output to connect modulation signal to.
default: Output1
allowed values:Output1, Output2, Output3, Output4, OutputA, OutputB, OutputC
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "amplitude": 0.5,
    "enabled": true,
    "frequency": 1000000.0,
    "source": "AnalogOutput3"
}
1
2
3
4
5
6