LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I compile the project created in CVI2012 in CVI7?

Solved!
Go to solution

Hi there,

  I have the CVI2012 installed in one computer and I create a simple project to write digital channel based on the example with DAQmx9.7. In another computer, there is CVI7 installed only, I think the project includes the sources and headers (text files), I wonder if this project could be compiled in down version like CVI7 or not? In the comptuer where CVI7 installed, I install all the CVI2012 runtimes and DAQmx drivers 9.7, but when I open the project in CVI7, it said missing DAQmx.h. So how do I get those headers and get the project compiled in CVI7? Thanks.

0 Kudos
Message 1 of 4
(3,513 Views)

Which part of DAQmx have you installed on CVI7 machine? You need to install the support for CVI when installing full DAQmx product (not the runtime only). Additionally, in CVI you need to go to Libraries menu and check DAQmx checkbox so that the IDE can use it.

 

Regardless of that, you should receive a warning when you open in CVI7 the UIR file created in CVI2012: you can save the UIR for previous version in CVI21012, but I don't remember if that IDE can downgrade it to such an old version. See here for reference and here for an alternative method by passing thhough .TUI files

Finally, you must be sure you are not using any new code feature or UIR control / attribute for the project to compile in an older version of the IDE.



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 2 of 4
(3,507 Views)

@RobertoBozzolo wrote:

Which part of DAQmx have you installed on CVI7 machine? You need to install the support for CVI when installing full DAQmx product (not the runtime only). Additionally, in CVI you need to go to Libraries menu and check DAQmx checkbox so that the IDE can use it.

 

Regardless of that, you should receive a warning when you open in CVI7 the UIR file created in CVI2012: you can save the UIR for previous version in CVI21012, but I don't remember if that IDE can downgrade it to such an old version. See here for reference and here for an alternative method by passing thhough .TUI files

Finally, you must be sure you are not using any new code feature or UIR control / attribute for the project to compile in an older version of the IDE.


I installed the full driver of DAQmx9.7 on CVI7 machine (http://joule.ni.com/nidu/cds/view/p/id/3811/lang/en).  But I don't know will that install the header and the library. If not, what else should I install?

0 Kudos
Message 3 of 4
(3,504 Views)
Solution
Accepted by topic author dragondriver

During the install of DAQmx it should detect the presence of CVI7 and ask you to install the relative support files.

Have you checked the Library menu? If DAQmx is grayed out you must select Customize and check the correspondent checkbox in the new window: if it is checked, that means that DAQmx support is not installed and you must run the installer again.

 

CVI Library Customize window.png

 

 

*** EDIT ***

I see now in readme file for DAQmx 9.7 that CVI7 is not supported: you need to download a previous version of the driver that supports CVI7.

NI-DAQmx 8.8 appears to be the last usable release.

If you need to maintain the project active for both CVI machines you will be limited to that version:  this means that even when developing in the newest one you must be sure not to use most recent features of DAQmx.



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 4
(3,498 Views)