set_frontend
Configures the input impedance, coupling, gain, and attenuation for each channel.Setting the bandwidth is only available on Moku:Pro. Read about [how to select the bandwidth for your application](../README.md#bandwidth)
Parameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2 Moku:Delta 1, 2
string required
Impedance
allowed values:Moku:Lab 50Ohm, 1MOhm Moku:Go 1MOhm Moku:Pro 50Ohm, 1MOhm Moku:Delta 50Ohm, 1MOhm
string required
Input Coupling
allowed values:AC, DC string
Input attenuation (required when gain is not set)
default: Noneallowed values:Moku:Lab 0dB, 20dB Moku:Go 0dB, 14dB Moku:Pro 0dB, 20dB, 40dB Moku:Delta -20dB, 0dB, 20dB, 32dB
string
Input gain (required when attenuation is not set)
default: Noneallowed values:Moku:Lab 0dB, -20dB Moku:Go 0dB, -14dB Moku:Pro 0dB, -20dB, -40dB Moku:Delta 20dB, 0dB, -20dB, -32dB
string
Input bandwidth
default: 300MHzallowed values:Moku:Pro 300MHz, 600MHz
boolean
Disable all implicit conversions and coercions.
default: true# Examples
# Sample response
{
"bandwidth": "300MHz",
"attenuation": "20dB",
"coupling": "DC",
"impedance": "1MOhm"
}
1
2
3
4
5
6
2
3
4
5
6
← set_filter set_gain →