# PID Controller

The PID Controller allows for dual channel (independent or MIMO) control of voltage-input, voltage-output signals. The PID includes a double-integrator and fully-configurable integrator saturation (anti-windup) and differentiator saturation.

If using the REST API directly, the instrument group name is pidcontroller.

Functions

Core

  • Multi-instrument: PID Controller in multi-instrument context
  • enable_input: Enable or disable the PID channel input(s).
  • enable_output: Enable or disable the PID channel output(s)
  • getters: PID Controller - getter functions
  • load_settings: Load a previously saved `.mokuconf` settings file into the instrument. To create a `.mokuconf` file, either use `save_settings` or the desktop app.
  • save_settings: Save instrument settings to a file. The file name should have a `.mokuconf` extension to be compatible with other tools.
  • set_by_frequency: Configure the selected PID controller using crossover frequencies.
  • set_by_gain: Configure the selected PID controller using gain coefficients.
  • set_by_gain_and_section: Configure the selected PID controller and its sections using gain coefficients.
  • set_control_matrix: Set the linear combination of ADC input signals for a given PID channel.
  • set_defaults: Set the PID Controller to its default state.
  • set_frontend: Configures the input impedance, coupling, gain, and attenuation for each channel.
  • set_input_offset: Set input signal offset
  • set_output_gain: Configures the output load on a given channel.
  • set_output_limit: Set output signal offset
  • set_output_offset: Set output signal offset
  • summary: Returns a short summary of current instrument state

Data Logger

Data Streaming

Oscilloscope

  • enable_rollmode: Enables and disables Roll Mode X-axis behaviour
  • get_data: Get a frame of the data from the instrument
  • getters: PID Controller - Oscilloscope - getter functions
  • save_high_res_buffer: Save the high resolution channel buffer data to a file on the Moku's internal storage
  • set_acquisition_mode: Set acquisition mode
  • set_hysteresis: Configures the hysteresis around trigger point.
  • set_timebase: Set the left- and right-hand span for the time axis. Units are seconds relative to the trigger point.
  • set_trigger: Sets trigger source and parameters.
  • set_monitor: Configures the specified monitor channel to view the desired PID probe point signal.