set_output Moku:Pro, Moku:Delta

Configure the Output gain settings

When in Multi-instrument Mode, the instruments themselves cannot configure the output gain settings of the Moku. For example, the Waveform Generator instrument is no longer in control of the output gain, as the user may dynamically change the mapping between Waveform Generator output channel and the physical DAC (or not connect it to a DAC at all).

When in Multi-instrument Mode, the user must use this set_output function rather than the ones "typically" found in the namespaces of individual instruments.

Parameters

boolean
Disable all implicit conversions and coercions.
default: true
integer required
Target channel
allowed values:
Moku:Lab
Moku:Go
Moku:Pro1, 2, 3, 4
Moku:Delta1, 2, 3, 4, 5, 6, 7, 8
string required
Output Gain
allowed values:
Moku:Lab
Moku:Go
Moku:Pro0dB, 14dB
Moku:Delta0dB, 20dB
units: dB

Make Connections First

You must connect an Output (i.e. DAC) to an instrument before configuring its settings. See set_connections for details of making the connection.

# Examples

# Sample response