LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

wizard to go from visual studio to labwindows

is there a wizard to take a visual studio project (.dll) and convert it to a LabWindows/CVI project? i see that there is a wizard to go the other way.
0 Kudos
Message 1 of 4
(3,455 Views)

Chucky,

 

There is no wizard to convert from a Visual C++ project to a LabWindows/CVI project since CVI compiles C code and therefore would not be able to convert the C++ code down to C code.  However, you can create a .dll or a .NET assembly with Visual Studio using your existing code in Visual Studio (C++, C#, whatever you're using).  From there you can call the DLL in CVI or you can create a .NET controller in CVI to use your .NET assembly in your CVI code.

Eric B.
National Instruments
0 Kudos
Message 2 of 4
(3,429 Views)
as it turned out, i created an empty dll project and added the files. our dll is written to be ansi c. a couple of minor tweeks and it compiled. the target is LabVIEW RT. wish us luck.
0 Kudos
Message 3 of 4
(3,426 Views)
Good luck with that.  If you have problems with the LabVIEW RT side of things, you should hop over to the LabVIEW boards and post over there (with RT in the subject line) to see if anyone can help out.
Eric B.
National Instruments
0 Kudos
Message 4 of 4
(3,389 Views)