LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

UIR incompatibility between 6.0 and 7.0

I edited a uir file whilst in LW 7.0. When a fellow employee tried to edit and just run the application with this file, he got an error saying that the .uir file would not load because it was created with a newer version of LW. How can I fix this? If we can't use both LW 6.0 and 7.0, simultaneously, then we will all have to stay at LW 6.0.

thanks,
Lorrie Smith
0 Kudos
Message 1 of 4
(3,310 Views)
Lorrie,

1. UIR files saved in 6.0 can always be read in 7.0

2. UIR files saved in 7.0 might or might not be readable in 6.0. If you use new 7.0 features in a UIR, such as tree controls, then obviously they cannot be read in 6.0. Also, any images that are saved in a UIR in 7.0 will render that UIR unloadable in 6.0 (This includes picture controls and canvas controls). Anything else should be loadable in 6.0. The warning you refer to will always be displayed when you attempt to load a UIR saved in a later format in an earlier version of CVI. The warning is not a fatal error. You can proceed and see if your particular UIR(s) can or cannot be loaded.

Luis Gomes
NI
Message 2 of 4
(3,310 Views)
If you have just loaded the uir file created with CVI 6 in CVI 7 and saved it in the new format and you want to reuse it under CVI 6 than you can do the following: In the UI editor of CVI 7 under Options "Save in Text Format" and reload the saved tui file under the Options menu with "Load from Text Format"of the UI editor from CVI 6.
If you have added controls to the UI which are available only under CVI 7 and you do the same you will get an error message which indicates the line in the tui file which cannot be read but than you can delete the complete section of the control which belongs to this entry by using a text editor. After doing this you will be able to load the tui file again under CVI 6.
Regards,
Heinrich Illig
0 Kudos
Message 3 of 4
(3,310 Views)
Thanks, that's a great suggestion. What I did was load the LW 6.0 uir file in LW 7.0. I actually deleted some controls and saved it. It then wouldn't load in LW 6.0. But I'll try your suggestion.

many thanks,
Lorrie
0 Kudos
Message 4 of 4
(3,310 Views)