LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating a LabView VI from LabWindows application

What is the process of turning a LabWindows application into LabView VI.
0 Kudos
Message 1 of 5
(2,724 Views)
There is no conversion utility that I know of that will convert a LabWindows program into a Labview vi. You have to do it the hard way. Create the vi manually. I have had to create a vi from a VB program. I used the VB code as a guideline and manually created the vi from scratch.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 5
(2,723 Views)
What I learned so far is that in LabWindows you can create an IVI driver, you need the fp and dll parts. The wizards walks you through. LabView and LabWindows sits on top of this. The IVI process creates the c and h code and must be written correctly. Then in LabView you can import this and if the IVI is written correct LabView wires up a VI correctly. This is how it is supposed to work (I think) I know of folks who have done this, our NI folks at local seminars tell us that this can be done but there is not documentation. That is why I inquired.

Thanks for responding

Lou Eichner
0 Kudos
Message 3 of 5
(2,723 Views)
If this is a CVI instrument driver, then there's a conversion utility under Tools>Instrumentation>Import CVI Instrument Driver. This will make VIs that use the Call Library Node to call the CVI DLL that you create. Any CVI program can be made into a DLL but I've never tried the utility on anything but instrument drivers but you could give it a try or just create you own Call Library Node functions. But as tbob says in his post, there is no way to convert CVI source code into LabVIEW source code.
0 Kudos
Message 4 of 5
(2,723 Views)
Now that you mention what you're trying to do, then yes you can easily import the IVI driver into LabVIEW. In my other answer, I mention the untility under the tools menu. There is also information in the on-line help. Just go to the index and type CVI and select CVI Function Panel Converter Dialog Box.
0 Kudos
Message 5 of 5
(2,723 Views)