set_outputs

Configures output sources and offsets

Select the main, auxiliary and PID controller sources to configure the outputs of the Lock-in Amplifier.

Polar/Rectangular Outputs

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

Polar converter

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

The Lock-in Amplifier can output a main and aux (auxiliary) output, of which many output sources are available. The output sources selected in set_outputs are available depending on the Lock-in Amplifier configuration, consisting of the demodulation source (set with set_demodulation), auxiliary output (set with set_aux_output) and the PID controller (set with use_pid and set_by_frequency). Set the Lock-in Amplifier configuration, then connect the sources to an output with set_outputs.

When using Internal and External PLL set_demodulation modes, the PID controller use_pid can always be attached to the main output. However, the PID controller can be attached to either the main or aux sources when set_outputs is not outputting a demodulation source (Demod) or an auxiliary oscillator (Aux).

When using External and None set_demodulation modes, the PID controller can only be attached to the main output using use_pid. Further, when using these demodulation modes, the aux output can only be set to Aux oscillator.

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
Main output DC offset
default: undefined
allowed values:
units: V
number
Aux output DC offset
default: undefined
allowed values:
units: V
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "Auxiliary output": 2,
    "Enabled": False,
    "Polar conversion": False,
    "Signal enabled": True,
    "Use quadrature component": False,
    "aux_offset": 0.0,
    "main_offset": 1.0
}
1
2
3
4
5
6
7
8
9