configure_analog_channel()#

InstroDAQ.configure_analog_channel(
direction: Direction,
physical_channel: str,
alias: str | None = None,
range_min: float = -10.0,
range_max: float = 10.0,
scaler: Scaler | None = None,
terminal_config: TerminalConfig | None = None,
)[source]#

Deprecated: use configure_voltage_input() or configure_voltage_output() instead.

Parameters:
  • direction – INPUT or OUTPUT.

  • physical_channel – Vendor-specific channel id (e.g. "ai0" or "Dev1/ai0").

  • alias – Friendly name; defaults to physical_channel.

  • range_min – Lower voltage range (volts).

  • range_max – Upper voltage range (volts).

  • scaler – Optional Scaler applied to AI samples after read.

  • terminal_config – Terminal wiring (RSE / NRSE / DIFF) for the channel.