set_output Moku:Pro

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:1, 2, 3, 4
string required
Output Gain
allowed values:0dB, 14dB
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