LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 2013 to CVI 2009

Hi

 

I got a few Labwindows CVI 2013 projects that i would like to move back to 2009. How can i do this?

 

Labwindows 2013 and 2015 has to many bugs and is unreliable for me currently. I am also unable to debug my program due to one of the bug with 2013 and 2015.

 

 

Help share your knowlegde
0 Kudos
Message 1 of 10
(4,786 Views)
Hi Shako,

Can you explain a bit more about the debugging problems you are having with 2013 and 2015?

For migrating your code backwards, you will need to save copies of your UIR files in the version to which you wish to migrate; source code should be usable in previous versions as long as you are not using new functionality. If the option to save as the specific older UIR version is unavailable, you can instead save your UIR files to TUI files (text representation of the UIR) which can be imported by the previous version. Before starting the migration backwards, you'll want to make a backup of your current files in case something goes wrong. LabWindows/CVI is designed to be backwards compatible (old code, workspaces, UIRs, and so on can be opened in newer versions) but not the other way around, so you may experience challenges in doing this.

Ultimately, we would like to work with you to see if we can address the issues you are experiencing with our new product, so you can be successful on the latest, supported platform. Please post back with some details of those issues, or perhaps links to unresolved threads describing those issues on this forum, so we can take a closer look.

Warm regards,
Daniel Dorroh
National Instruments
Message 2 of 10
(4,779 Views)

Hi D-Cubed

 

Thanks for the reply.

 

I have put for a formal bug fix request. Its related to nested structure and the degugger returning a reference to a variable a deferenced null.

The other was with regards to running multiple threads and the only solution i found was to turn optimisation off.

 

I dont have back ups of the 2009 UIR, so that means i will have to do the UIR from scratch?

Help share your knowlegde
0 Kudos
Message 3 of 10
(4,772 Views)

What Daniel was referring to is that you could try downgrading the UIR within CVI2013: open the UIR file and choose Save As, next specify as file type the release you want to downgrade to and a new filename to preserve original file.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 4 of 10
(4,771 Views)

Thanks Roberto for clearing that for me, i will definately try that out. Might have a problem because of the Tab control though.

Help share your knowlegde
0 Kudos
Message 5 of 10
(4,750 Views)

I don't think so: tab control was introduced in CVI8 and 2009 release handles it in the same way as 2013, you should have no problems with it.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 10
(4,745 Views)

Thanks the save UIR as works.

 

Now i just got a windows SDK problem where CVI is complaining of some stuff in sal.h been redefined

Help share your knowlegde
0 Kudos
Message 7 of 10
(4,715 Views)

sal.h is not present neither in my CVI2009 nor CVI2012 installs: have you installed also some Visual Studio version in your PC?

You could check Environment Options and see if some include file folder has been set there that you may replicate in previous release options.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 8 of 10
(4,710 Views)

Hi Roberto

 

I have added sal.h from the windows SDK but i am getting the following error : 

Sal error.JPG

 

It seems to beconflicting with the CVI 2009 SDK. I have not added the CVI 2009 SDK to my include paths.

 

 

Is there a way i cant fix this?

 

Help share your knowlegde
0 Kudos
Message 9 of 10
(4,673 Views)

I cannot say for sure: apparently some macros are defined both in the new sal.h you just added and elsewhere in the source file listed, possibly in some other include file.

You should check whether you have only one sal.h in your system or whether those macros are defined in some other file.

 

The IDE normally identificates SDK folders without need to explicitly adding them to environment options.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 10 of 10
(4,668 Views)