set_frontend

Configure the Analog front-end settings of the Moku when in Multi-instrument Mode.

When in Multi-instrument Mode, the instruments themselves cannot configure the front-end settings of the Moku. For example, the Oscilloscope instrument is no longer in control of the input attenuation/range, as that input may be shared by multiple instruments.

When in Multi-instrument Mode, the user must use this set_frontend 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:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
string required
Impedance
allowed values:
Moku:Lab50Ohm, 1MOhm
Moku:Go1MOhm
Moku:Pro50Ohm, 1MOhm
string required
Input coupling
allowed values:AC, DC
string required
Input attenuation
allowed values:
Moku:Lab0dB, -20dB
Moku:Go0dB, -14dB
Moku:Pro0dB, -20dB, -40dB

Make Connections First

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

# Examples

# Sample response