04-25-2001 02:30 PM
04-25-2001 02:54 PM
06-16-2010 04:29 AM
I have same error, When i am compiling program, CVI 6.0 giving an error "dataacq.h" not found. i have installed DAQ 6.9.1. I don't know why i am not able to install dataacq.h.
Help me
--Vishnu
06-16-2010 04:38 AM - edited 06-16-2010 04:39 AM
Hi vishnu, did you installed traditional DAQ or DAQmx? dataacq.h is part of traditional daq, so if you happened to install DAQmx you won't find it in the system.
Also, didi you installed it after or before CVI? The correct sequence is to install CVI for first and then to add NI-DAQ specifying to installexamples and libraries for CVI (it should already be checked but it is better to verify).
06-16-2010 07:37 AM
06-17-2010 03:14 AM
Hi Roberto,
in my PC Labview 8.6 is already instally and DAQmx9.0 installed, after that i have installed CVI6.0 in same PC so there is some linking problem between DAQmx and CVI. The dataacq.h, i found in "C:\Program files\Nantiona Instruments\MeasurementStudio\CVI\include" directory. At now how i can link CVI and DAmx?
If i will reinstall DAQmx9.0, it may create copy.
Thanks
--Vishnu
06-17-2010 04:12 AM
Vishnu,
please take care of the difference between "DAQmx" and "Traditional DAQ": they are completely different products with no interaction between them. The supporting files also are different.
Since you are looking for "dataacq.h", you absolutely need to install traditional daq: installing DAQmx will not solve any of your problems. BTW, traditional daq is in version 7.4.4 and wont' be updated anymore. It can be downloaded from here, but should be also included in NI-DAQ driver disks and is surely included in Developer Suite distributions.
Second item: the presence of LabVIEW again has no influence on CVI development environment. A problem may arise if in the same machine a newer CVI is already installed, in which case a new install of traditional daq will not update CVI6 environment.
At this moment, I can see several scenarios: please let us know which is your exact situation so that we can address it in the proper way.
Scenario 1
LabVIEW installed. No other CVI installed apart your CVI6
In this case simply installing Traditional DAQ will solve your problems: during installation be sure to install CVI support (the setup program whould correctly identify your CVI6IDE)
Scenario 2
LabVIEW installed. A newer CVI installed together with CVI6 IDE.
In this case you should install Traditionl DAQ (which will install support fro the newer IDE) and then copy DAQ files to CVI6 environment. The copy will imply several files, not only dataacq.h.
Let me know if this is your case and I will list you all the files to copy.
08-09-2010 06:26 AM
Dear Robert,
Thanks for reply. I am coming delayed because of upgrading my system.
Actually i had not installed new CVI version. But to solve my problem not i had upgrade my system with NI professional suit. We have LV2009 and CVI9. Still i have same problem of dataacq.h . The functions from this file, i am using for VXI system. I have installed Traditional DAQ 7.4.4. But still problem is there.
--Vishnu
08-10-2010 02:26 PM
Hi Vishnu,
as far as I can understand, you had CVI6 installed in your system and now you have added a newer version of CVI, but you are still missing dataacq.h.
You must consider that the header file dtaacq.h is not part of CVI installation in any release: it is part of Traditional NI-DAQ that you must install after CVI. During NI-DAQ installation you must absolutely check that the product gets installed within CVI environment. Also, take care that NI-DAQ will be installed only in the most recent release of CVI environment found in the system.
At this moment I miss which release of CVI do you want to use in your activity: if you are developing in the most recent one you should be able to compile without errors. On the other side, if you want to develop in the older one you must copy some NI-DAQ files to it.
Please let me know which is your decision.
PS It seems to me that his discussion is a duplicate of this other one: in the future please do not list in two diffeent discussions on the same argument, as it is difficult for us to folow up every one of them.
08-11-2010 04:40 AM
Dear Tom,
I have uninstalled CVI6.0, before installing CVI9.0. Presently i am using CVI9.0.
I have seen in my PC that still c:/program files/National instrument/ Measurement studio/CVI folder there.
May be i have not uninstalled properly.
In this folder bin, extlib, include, samples, and toolslib folders there. This file dataacq.h is there in this include folder. Does this create problem?
I tried to run Traditional NI-DAQ second time also but it prompt that i have already installed it.
Thanks.
--Vishnu