LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

open uir in previous version

I have CVI 8.0. My co-worker has 6.0. He wants to modify my uir but he is unable to open uir. Which controls are not backwards compitible?
I know picture control is not.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 1 of 5
(3,337 Views)
Sheetal,

Anything with images (picture controls, picture buttons, canvases -- even blank canvases) will not be compatible. Graphs are also not compatible. And neither, of course, are controls that did not exist in 6.0 (trees, splitters, digital graphs, tabs).

Anything else hopefully should load in 6.0, in spite of the warning.

Luis
NI
0 Kudos
Message 2 of 5
(3,325 Views)

Luis,

I noticed that your list of incompatable things between 8.0 and 6.0 include graphs.  Since graphs are compatable between 7.0 and 6.0 would I be able to reasonably assume that graphs are not backward compatable from 8.0 to7.0.  Is there a list of these backwards compatability issues in a .pdf file somewhere on NI site that I would be able to look at?

0 Kudos
Message 3 of 5
(3,322 Views)
Graphs are incompatible between 8.0 and 7.1 (by the way, for the benefit of others who might stumble into this thread, we are referring to taking a .UIR saved in 8.0, for example, and loading it in an earlier version of CVI. But the reverse will always work).

To answer your question about the known issues, keep in mind that officially none of it is supported. There are two many little changes that always take place from version to version -- bug fixes, other features, etc -- so that long ago we decided that we would not claim to support opening a UIR file in an older version of CVI. In some versions, when the severity of the incompatibility is large enough, we enforce it via an explicit warning message -- this was the case between 6.0 and 7.0, and between 7.1 and 8.0.

Having said that, at the time we created the 7.1/8.0 incompatibility, we realized that this was a problem for a lot of customers, since not everyone upgrades at the same time, and people with different versions of CVI sometimes need to share .UIR files. So we addressed this in 8.0 by providing an option to save a .UIR in 7.1 format. This is what we are planning with all future versions, whether there are explicit compatibilities or not (although unfortunately, we can't go back and save in 6.0 format or earlier).

Luis

0 Kudos
Message 4 of 5
(3,318 Views)

If you really must support both version 6 and 8 with the same source code, convert the uir to a source file with the UI to source code converter on the tools menu.  The resulting source can be tweaked to removed any version 8 dependancies.  You can also use conditional compiles to use different features based on the version the source is compiled under.  Works great. 

And to those of you at NI who added the UI converter feature a big thank you!  It still find it very useful even after the ability to embed the uir in the exe was added.

Message Edited by mvr on 03-07-2006 01:36 PM

0 Kudos
Message 5 of 5
(3,311 Views)