LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is dataacq.h missing from my installed version of CVI 5.5?

I need the header file dataacq.h for some applications that I am using. I know the file is present on other versions of CVI 5.5 and want to know why the file was not installed (using standard install) on my system (Windows 98)
0 Kudos
Message 1 of 10
(5,008 Views)
This file is NOT installed by CVI. It is installed by the NI-DAQ driver software. When you run the NI-DAQ Setup program in your start menu, it will let you install the CVI DAQ libraries.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
Message 2 of 10
(5,008 Views)

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

0 Kudos
Message 3 of 10
(4,527 Views)

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).

Message Edited by Roberto Bozzolo on 06-16-2010 11:39 AM


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 10
(4,526 Views)
If you have a newer copy of CVI installed on the same computer, the NI-DAQ installer will only install the appropriate files for the newest version of CVI.  If you want to use an older version you must manually copy the files for NI-DAQ to the 'Include' subdirectory where CVI is installed.
0 Kudos
Message 5 of 10
(4,510 Views)

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

0 Kudos
Message 6 of 10
(4,490 Views)

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 7 of 10
(4,488 Views)

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

 

0 Kudos
Message 8 of 10
(4,333 Views)

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 9 of 10
(4,300 Views)

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

0 Kudos
Message 10 of 10
(4,291 Views)