From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-01-2008 07:16 AM
Solved! Go to Solution.
10-01-2008 12:09 PM
If you are developing a pure MFC C++ application (the only type supported by NI-DAQmx in Visual Studio 2005 for C++) NI-DAQmx provides several resources for getting started. If you install NI-DAQmx 8.8 the examples are also available on the start menu at Start >> All Programs >> National Instruments >> NI-DAQ >> Text-based Code. You will want to look at the ANSI C examples. This is available in the start menu after installing NI-DAQmx. I'm not on a Windows machine right now but I think the path is Start >> All Programs >> National Instruments >> NI-DAQ >> C Function Reference. Locations for documentation resources are available:
http://digital.ni.com/public.nsf/allkb/CCDFC93878BD8781862570FC00559980?OpenDocument
Let us know if you have any additional questions.
Neil S.
10-02-2008 02:47 AM
Thanks for reply!
Unfortunately, the paths you gave me don't exist on my machine after installing 8.7.1 version. You are referencing 8.8.X version so maybe that's the source of differences. But anyway I still can't find any examples in National Instrument directory. I also checked installation process once again and examples option for C++ are enabled. This makes me little confused. Maybe there is some tuturial on the website explaining how to get started developing with DAQmx for C++.
10-02-2008 10:37 AM
DAQmx 8.8 is the first version to put a link to the C examples under Start->Programs. The examples are still there for previous versions, there's just no way to get to them from the start menu.
This link has the location for finding the examples:
http://digital.ni.com/public.nsf/allkb/FB26BDA52FFFD4EE86257124005C36C3
The ANSI C NI-DAQmx shipping examples can be found by browsing to:
Before NI-DAQmx 8.5
C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C
After NI-DAQmx 8.5 (VISTA compatible)
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C
10-10-2008 01:48 AM
Thanks for help!
I have finaly found the examples using C sources and it let me check if it is possible to develop some environment for using NI USB-6259. Now I am thinking of creating access interface for this device, but I will ask about in a new thread.
Thanks again,
Dariusz Boczkowski