问题描述
我目前正在使用LabWindows/CVI 2012开发实验室自动化软件.我客户的实验站都安装了CVI 9.0运行时环境(RTE).客户强烈希望避免将其实验室工作站更新为最新的CVI RTE.
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.
我已经在计算机上安装了较旧版本的LabWindows(9.0),并成功构建了项目,因此我知道我的代码可以在两种环境下编译.
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.
理想情况下,我想使用LabWindows 2012,只是告诉它以较早的CVI RTE为目标.这可能吗?
Ideally I would like to use LabWindows 2012 and just tell it to target the older CVI RTE. Is this possible?
推荐答案
否,这是不可能的. LabWindows/CVI中内置的应用程序仅与相同版本的运行时引擎或更高版本兼容.另请注意,直到CVI 2012为止,一次只能在一个系统上安装一个版本的运行引擎.在CVI 2012中,引入了并排运行时引擎,该引擎允许在同一系统上安装多个版本,并允许将应用程序绑定到特定版本(2012或更高版本).
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).
但是,您可以在系统上安装CVI环境的多个版本.这将允许您在CVI 2012中进行开发,但可以在CVI 9.0中进行构建.您需要特别注意不要使用CVI 2012或更高版本中引入的任何功能或库函数.可以使用另存为"菜单项将用户界面UIR文件保存为较早版本.此外,您需要将项目降级到较旧的版本.由于CVI 9.0和2012的版本非常接近,因此这可能不是主要问题(它可以正常工作,没有任何问题).
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).
这篇关于在构建过程中如何定位较早的CVI版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!