set_by_frequency

Configure the selected PID controller using crossover frequencies.

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
number
Proportional gain factor
default: undefined
allowed values:-60 to 60
units: dB
Integrator crossover frequency
default: undefined
allowed values:31.25e-3 to 312.5e3
units: Hz
Differentiator crossover frequency
default: undefined
allowed values:312.5e-3 to 3.125e6
units: Hz
Second integrator crossover frequency
default: undefined
allowed values:31.25e-3 to 312.5e3
units: Hz
Integrator gain saturation
default: undefined
allowed values:-60 to 60
units: dB
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