configure_digital_input()#
- InstroDAQ.configure_digital_input(
- physical_channel: str,
- *,
- logic: str | Logic = Logic.HIGH,
- logic_level: float | None = None,
- alias: str | None = None,
Configure a digital input line channel.
- Parameters:
physical_channel – Vendor-specific line id (e.g.
"port0/line3"on NI,"FIO0"on LabJack).logic – Active-
HIGHor active-LOW.logic_level – Voltage threshold (volts); the driver default is used when
None.alias – Friendly name; defaults to
physical_channel.