set_by_frequency
Configure the selected PID controller using crossover frequencies.Parameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4
number
Proportional gain factor
default: undefined
allowed values:-60 to 60
units: dB
number
Integrator crossover frequency
default: undefined
allowed values:31.25e-3 to 312.5e3
units: Hz
number
Differentiator crossover frequency
default: undefined
allowed values:312.5e-3 to 3.125e6
units: Hz
number
Second integrator crossover frequency
default: undefined
allowed values:31.25e-3 to 312.5e3
units: Hz
number
Integrator gain saturation
default: undefined
allowed values:-60 to 60
units: dB
number
Differentiator gain saturation
default: undefined
allowed values:-60 to 60
units: dB
boolean
Disable all implicit conversions and coercions.
default: true
# Examples
# Sample response
{
"diff_crossover": 16000.0,
"diff_saturation": 15.0,
"double_int_crossover": 31.0,
"int_crossover": 310.0,
"int_saturation": 40.0,
"prop_gain": -10.0
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
← Getters set_by_gain →