How can one target older CVI versions during build?

蹲街弑〆低调 提交于 2019-12-08 07:08:44

问题


I am currently using LabWindows/CVI 2012 to develop lab automation software. My customer's lab stations all have the CVI 9.0 runtime environment (RTE) installed. The customer strongly prefers to avoid updating their lab stations to the latest CVI RTE.

I have installed the older version of LabWindows (9.0) on my machine and successfully built my project so I know that my code compiles under both environments.

Ideally I would like to use LabWindows 2012 and just tell it to target the older CVI RTE. Is this possible?


回答1:


No, this is not possible. Applications built in LabWindows/CVI are only compatible with the same version of the Run-Time Engine or later versions. Also note that up until CVI 2012 only one version of the Run-Time Engine can be installed on a system at a time. In CVI 2012, the side-by-side Run-Time Engine was introduced, which allows for multiple versions to be installed on the same system and for applications to be bound to a specific version (2012 or later).

You can, however, install multiple versions of the CVI environment on a system. This would allow you to develop in CVI 2012, but build in CVI 9.0. You would need to pay particular attention that you do not use any features or library functions introduced in CVI 2012 or later. The user interface UIR files can be saved for older versions using the Save As menu item. Additionally, you would need to downgrade your project to the older version. Since CVI 9.0 and 2012 are pretty close in version, this is likely not a major issue (it might work without any problems).



来源:https://stackoverflow.com/questions/17198728/how-can-one-target-older-cvi-versions-during-build

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!