Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

C source code example

I've just installed the current release of the NI-DAQmx libraries.  The installation/setup was configured to install C source code examples i I am not able to find the C source code examples but I am not able to find them.   I've done this twice and still am not able to find the example source code.  Can anyone explain what I need to do to install/find the C source code examples?
 
Thanks,
 
Ian
0 Kudos
Message 1 of 6
(3,790 Views)
Hello Ian,

the installation folder for the ANSI C examples depends on your system and NI-DAQ version.
You can check:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\
or
C:\Program Files\National Instruments\NI-DAQ\

Hope this helps.
LDP
0 Kudos
Message 2 of 6
(3,774 Views)

I've already checked for both directories but they do not exist.   The only directory created was 'C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0'.   It is my impression that the current NI-DAQmx installation program is simply not installing the C source code examples.

Thanks,

Ian

0 Kudos
Message 3 of 6
(3,772 Views)
From I assume the "C:\Users\Public" directory you mentioned, I can assume that you're running on Vista?

In that case, the ANSI C examples will be installed into the directory you specified, exactly here: C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C

If they are not being installed, the ANSI C option in the installer is likely not checked off.
If you are having a problem with the installer, I would try removing NI-DAQmx and re-installing it again.

Hopefully this helps.
LDP
0 Kudos
Message 4 of 6
(3,767 Views)
Yes, I am working with Vista. 
 
I've installed several different versions of the NI-DAQ library over the past few years and have a pretty good idea of what to expect.   In this case, I am not able to find any C source code.   I need the code because NI appears to have changed the way one of their functions operates and this would be confirmed in the source code.   I will try re-installing everything for a third time and if this does not work, will post a bug report.
 
Thanks,
 
Ian
0 Kudos
Message 5 of 6
(3,756 Views)
The problem appears to have been caused by the setup program itself.  I orginally downloaded the current release last month.   Uninstalling and re-installing did not copy the C source code to the hard drive.   Today, I downloaded the installation program a second time and re-installed the NI drivers using this download.    The C source code has now been copied to my hard drive.
 
Thanks,
 
Ian
0 Kudos
Message 6 of 6
(3,747 Views)