10-05-2008 09:54 PM
10-07-2008 08:58 AM - edited 10-07-2008 09:02 AM
Hi Jasmeet,
The C examples are located at C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C. Please verify that they are in that location. In regards to using CYGWIN to compile DAQmx code, DAQmx on windows is compiled using visual studio and cannot be compiled (without extensive changes) using a gcc compiler. The reason is because the calling convention for gcc is different. The DAQmx Base and DAQmx 8.0 for linux drivers install gcc compiled examples that are compiled using gcc. In short, the examples will not compile using a gcc compiler under windows. Is there a specific reason you are wanting to use CYGWIN? Are you planning on running the code within the CYGWIN shell? If this is the case, DAQmx 8.6 isn't supported under linux or CYGWIN. If you would like to use a gcc compiler, your best option would be to use a supported linux flavour with DAQmx Base or DAQmx 8.0.
I hope this helps,
Paul C.