set_outputs

Configures output sources and offsets

If Theta is selected, the scaling is 1V per cycle.

Polar converter

If R or Theta is selected, then a Rectangular-to-Polar converter will be engaged. The performance of this converter can be optimised by setting the expected input range, see set_polar_mode

Polar/Rectangular Outputs

Only one of Polar or Rectangular outputs can be used at once. For example, it's invalid to request Main output X and Aux output Theta.

Parameters

string required
Source for the Main LIA output
allowed values:X, Y, R, Theta, Offset, None
string required
Source for the Auxiliary LIA output
allowed values:Y, Theta, Demod, Aux, Offset, None
number required
Main output DC offset
allowed values:
units: V
number required
Aux output DC offset
allowed values:
units: V
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "aux_offset": 0.0,
    "main_offset": 1.0
}
1
2
3
4