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.

# Bandwidth

Setting the bandwidth explicitly is only available on Moku:Pro and Moku:Delta. For Moku:Delta, the bandwidth can be set with the bandwidth or impedance parameters. Set the bandwidth to 2 GHz or 6 GHz bandwidth with 50 Ohm impedance, or set the impedance to 1 MOhm to set the bandwidth to 1 MHz.

Read about how to select bandwidth, range, gain and attenuation for your application.

# Moku:Delta 6 GHz mode

Moku:Delta's 6 GHz analog input bandwidth, with 5 GSa/s sampling. Signals above 2.5 GHz will alias back into the first Nyquist zone (DC - 2 GHz).

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
Moku:Delta1, 2, 3, 4, 5, 6, 7, 8
string required
Impedance
allowed values:
Moku:Lab50Ohm, 1MOhm
Moku:Go1MOhm
Moku:Pro50Ohm, 1MOhm
Moku:Delta50Ohm, 1MOhm
string required
Input coupling
allowed values:AC, DC
string required
Input attenuation (required when gain is not set)
allowed values:
Moku:Lab0dB, 20dB
Moku:Go0dB, 14dB
Moku:Pro0dB, 20dB, 40dB
string
Input bandwidth
default: 300MHz
allowed values:
Moku:Pro300MHz, 600MHz
Moku:Delta2GHz, 6GHz
string
Input gain (required when attenuation is not set)
default: None
allowed values:
Moku:Lab0dB, -20dB
Moku:Go0dB, -14dB
Moku:Pro0dB, -20dB, -40dB
Moku:Delta20dB, 0dB, -20dB, -32dB

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

{
    "bandwidth": "300MHz",
    "coupling": "DC",
    "impedance": "1MOhm",
    "gain": "0dB"
}
1
2
3
4
5
6