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:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4
string required
Impedance
allowed values:Moku:Lab 50Ohm, 1MOhm Moku:Go 1MOhm Moku:Pro 50Ohm, 1MOhm
string required
Input coupling
allowed values:AC, DC
string required
Input attenuation
allowed values:Moku:Lab 0dB, -20dB Moku:Go 0dB, -14dB Moku:Pro 0dB, -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
← set_dio set_output →