Lodestar Posted September 19, 2009 Report Share Posted September 19, 2009 Hi, how to change VI to C/C++ code? thanks Quote Link to comment
Ton Plomp Posted September 19, 2009 Report Share Posted September 19, 2009 With the LabVIEW embedded module you can create ANSI C code from your LabVIEW code, however a lot of functionality is not avalaible. Why do you need your code as C/C++? You could build a DLL from your VI and call that from C. Ton Quote Link to comment
Lodestar Posted September 19, 2009 Author Report Share Posted September 19, 2009 With the LabVIEW embedded module you can create ANSI C code from your LabVIEW code, however a lot of functionality is not avalaible. Why do you need your code as C/C++? You could build a DLL from your VI and call that from C. Ton Ton, Thank you very much. I can change LV program to C/C++ code using microprosser SDK now. The variation reason is that I need to write a special instruction with C/C++ code. Quote Link to comment
ShaunR Posted September 19, 2009 Report Share Posted September 19, 2009 I prefer dlls myself, but for a single instruction it might be worth looking at CINs rather than converting a whole piece of LV code to C. Especially if you already have the code. Theres a very good tutorial HERE Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.