LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a LabWindows/DOS program working into Labview 7.0

Hello,

we have a program written in LabWindows/DOS running for many years.

All source code (uir, pf, c, h, lib, bas files) of this program are available.
I've tried importing some pf-files into Labview 7.0 with the LabWindows/CVI tool without luck (of course..).

The R&S equipment is as old (or older) than the LabWindows/DOS program, meaning no drivers for Labview.

What's the best way to go (without having Labwindows/CVI)?
Labwindows/Dos => Labwindows/CVI
Labwindows/CVI => Labview 7.0 ?

Is there a tool doing the complete convertion Labwindows/Dos => Labview 7.0 or the convertion Labwindows/Dos => Labwindows/CVI ?

All information on how to reuse this LabWindows/DOS source code is welcome.

With thanks,

best regards,

Geert
0 Kudos
Message 1 of 3
(2,481 Views)
The import tool that you have the screen shot of is for importing a CVI instrument driver and requires the uir, fp, and dll created in CVI. The first NI program development system I used was LabWindows/DOS and that did not create a dll. The only way to use CVI code in LabVIEW is to create a DLL and then use the Call Ligrary function. I don't have CVI installed yet on my new pc but I remember that at one point, CVI did have an option to import and convert LabWindows/DOS programs. I don't know if it's in the latest version of CVI though. Since LabWindows/DOS gave you the option of using either C or basic and CVI is only C, I don't know how the .bas files would import. LabWindows/DOS had the option of converting between the two so if you still have the LabWindows/DOS propgram, you may have to first convert the.bas files to .c. You shold probably post your question to the CVI board and see what kind of answers you get there.
Message 2 of 3
(2,469 Views)
Hello Dennis,

thank you for your answer. I'll check it out and ask this also in the Labwindows/CVI forum.

Best regards,

Geert
0 Kudos
Message 3 of 3
(2,444 Views)