LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I build a project made for CVI - Win 3.11?

 Hello!
 I've a project I'm afraid was made 15 years ago by somebody with a DOS version of LabWindows. I'm trying to compile it with LabWindows 7.1.1 and I've some "link error" and "syntax error" (about 80). I've tried with the "translate" tool but it doesn't change. How can I manage?
 
______________
 
 
 Hola!
 Tengo un proyecto que fue ejecutado en LabWindows para DOS. Estoy intentando compilarlo con LabWindows 7.1.1 y halla algunos "link error" y "syntax error" (unos 80). He probado con la herramienta "translate" sin éxito. Qué más puedo intentar?
0 Kudos
Message 1 of 3
(2,972 Views)

Hi,

are you using any kind of Drivers? That is GPIB (NI-488.2), NIDAQ, etc????

Regards,

Jaime Cabrera

NI Applications Engineering

Regards,

Jaime Cabrera

NI Applications Engineering Spain
0 Kudos
Message 2 of 3
(2,955 Views)
The tool was designed to assist in the migration, but it wont deal with every scenario. There is no easy way to upgrade a DOS app to a Win32 app.

If you just need something that just run, I would recommend going line by line thru the syntax errors and make sure you can atleast build an exe and then make sure it does what you need (drivers work, GUI is effective and so on). If there was any hardware interaction, you would probably need to find the 32 bit version of the drivers and deal with any API changes that might have happened over the last 15 years. We always try to avoid making API changes, but a change from DOS/Win16 to Win32 sometimes requires it.

If you want something that would work for the long run (XP, Vista, x64?), I would suggest evaluating the purpose of the application and see what it would take to create a Win32 app from scratch.  Support for Win98 and ME by Microsoft has already ended. If you would like to keep using the app for another 15 years, perhaps the work might be worth it.

Good luck with your project.
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(2,943 Views)