NI-DAQmx-Sys
This crate provides direct bindings for the DAQmx C API.
These are generated using the bindgen CLI as provided in the powershell script. This is currently configured to be run on a Windows System with NI DAQmx C support installed.
Versioning
I'm concerned about how to do this without too much confusion.
The policy is:
- Use the same version as the DAQmx version used to generate the bindings. For the Q releases use the Q number e.g. 2026 Q2 is 26.2.
- If they need other updates, use the bugfix version.
Older version should be compatible if NI do not introduced breaking changes. However they do not follow a semver policy so this may be difficult to follow.
Cross-Compiling for LinuxRT
We will attempt to link to the libraries from the NI external-compiler tree to target Linux on x64.
This can be overriden by setting the NIDAQMX_LIB_DIR environment variable to the path of the directory containing the libnidaqmx.so file.