07-10-2013 08:00 PM
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.
Solved! Go to Solution.
07-10-2013 11:46 PM
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.
07-10-2013 11:54 PM
@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?
07-11-2013 01:40 AM - edited 07-11-2013 01:46 AM
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.
*** 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.