Metadata-Version: 2.5
Name: instro-daq-ni
Version: 1.1.1
Summary: National Instruments (NI-DAQmx) DAQ drivers for instro
Project-URL: Homepage, https://github.com/nominal-io/instro
Project-URL: Documentation, https://instro.nominal.io
Project-URL: Repository, https://github.com/nominal-io/instro
Project-URL: Issues, https://github.com/nominal-io/instro/issues
Project-URL: Changelog, https://github.com/nominal-io/instro/blob/main/packages/instro-daq-ni/CHANGELOG.md
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: daq,data-acquisition,instro,national-instruments,ni-daqmx,nidaqmx
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Manufacturing
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: System :: Hardware
Classifier: Topic :: System :: Hardware :: Hardware Drivers
Classifier: Typing :: Typed
Requires-Python: <3.15,>=3.11
Requires-Dist: instro
Requires-Dist: nidaqmx>=1.2.0
Description-Content-Type: text/markdown

# instro-daq-ni

National Instruments DAQ drivers for [`instro`](https://github.com/nominal-io/instro).

This package contributes `NIDAQDriver` under `instro.daq.drivers.ni`. The driver talks to NI multifunction DAQ hardware through the [NI-DAQmx](https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html) runtime via the `nidaqmx` Python binding, and runs behind the `InstroDAQ` hardware abstraction alongside the other DAQ vendors.

## Installation

```bash
pip install 'instro[nidaq]'
```

The NI-DAQmx runtime is a separate vendor install from National Instruments and is required at runtime on Linux and Windows.

## Usage

Construct the driver with the device name as it appears in NI MAX, then pass it to `InstroDAQ`:

```python
from instro.daq import InstroDAQ
from instro.daq.drivers.ni import NIDAQDriver

daq = InstroDAQ(name="myDAQ", driver=NIDAQDriver(device_id="Dev1"))
```

See the [DAQ guides](https://instro.nominal.io) for channel configuration, hardware timing, and publishing to Nominal Core.

## License

[Apache License 2.0](https://github.com/nominal-io/instro/blob/main/packages/instro-daq-ni/LICENSE).
