Solution
Cygwin and PyDAQmx are not officially supported by National Instruments. Because Cygwin introduces a Linux-like environment on a Windows operating system, we cannot predict how third-party packages will interact with National Instruments files. Please follow the suggestions below for initial troubleshooting steps:
- Confirm the NIDAQmx.h file is located on your machine. The default location is
C:\Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\include\NIDAQmx.h
If the file is missing on your computer, there might be an issue with the NI DAQmx installation and you should repair the driver . - Confirm you have installed support for ANSI C with the NI DAQmx installation.
- Confirm you are able to run your program on a Windows OS. Build your application into a DLL and then call it in the Cygwin environment.