enable_output

Enable or disable the PID channel output(s)

The PID controller instrument has an output stage between the controller itself and the hardware outputs. This output stage includes the output offset and may contain a hardware gain stage depending on the Moku hardware platform (e.g. Moku:Pro has a selectable +14dB hardware driver required to obtain maximum output range). To have a PID output present on the device, the signal must be connected to the output stage (signal=true) and the output stage must also be enabled (output=true).

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
boolean required
Connect/Disconnect the controller signal to/from the output stage
boolean required
Enable/Disable output driver
boolean deprecated
If applicable, enable the hardware's output gain stage (high output range)
default: false
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "enable_gain": false,
    "output": true,
    "signal": true
}
1
2
3
4
5