set_pll

Sets the frequency acquisition/configuration and tracking bandwidth of the PLL.

The PLL in the LIA instrument is driven by the Moku's Input 2 and can optionally be used as a demodulation source. See `set_demodulation`.

Parameters

boolean
Auto acquire PLL frequency
default: true
number
PLL frequency
default: undefined
units: Hz

Caution

Setting frequency has no impact when auto_acquire is true

Frequency multiplier
default: 1

Caution

Setting frequency has no impact when auto_acquire is true

string
PLL Bandwidth
default: 1kHz
allowed values:1Hz, 10Hz, 100Hz, 1kHz, 10kHz, 100kHz, 1MHz
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
  "bandwidth": "10kHz"
}
1
2
3