LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview on microcontrolers

Solved!
Go to solution

Hello,

I wrote a labview code and I need to program it on a ((non NI)) microcontroler.Is there any way to do it directly or convert my labview code to C++?

0 Kudos
Message 1 of 5
(2,932 Views)
There used to be an embedded toolkit for LabVIEW that could convert a VI to C and compile it, but it was limited, expensive, and not that easy to use. I don't think it's still available. There is no other option for automatic conversion of a VI to something that can run on a non-NI microcontroller.
Message 2 of 5
(2,888 Views)
Solution
Accepted by topic author .mohamad.mah11

Hello mohammad.mah11,

 

The product nathand is referring to is the LabVIEW C Code Generator, refer to the product page for more information:

 

NI LabVIEW C Generator

http://sine.ni.com/nips/cds/view/p/lang/en/nid/209015#productlisting 

 

The 2013 evaluation is also available on this page:

 

LabVIEW C Generator 2013

https://www.ni.com/en/support/downloads/software-products/download.labview-c-generator-module.html#3...

 

In my (limited) experience, the biggest challenge with working with the C generator is that the resulting C code is not the easiest to read.  More information on supported functions can be found in the LabVIEW help, I'd definitely give that a read-over and try out the evaluation version if this is something you're interested in. Performance-wise it's pretty good from what I've seen. 

 

Regards,

Tom L.
Message 3 of 5
(2,852 Views)

I have LabVIEW 2012 Embedded Module for ARM Microcontrollers.is this what U mean ?

0 Kudos
Message 4 of 5
(2,814 Views)
That module uses the function exposed in C generator toolkit but then processes that code further to compile it with the included toolchain into object code and link it to an executable for the intended target. I'm not sure how easy it is to get at the intermediate C code. It definiyly wasn't intended to have that intermediate code bee used elsewhere.
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 5
(2,789 Views)