LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can C code be converted into G for LabVIEW?

Solved!
Go to solution

Hi guys,

 

Is it possible to convert C/C++ code into G code in LabVIEW?

0 Kudos
Message 1 of 5
(2,440 Views)

No, not with tools from NI which i am aware of.

 

You can compile the C/C++ code into a DLL and include that in LV using the Call Library Function Node (CLFN).

 

norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(2,438 Views)

Hi Norbert, thanks for the reply.

 

If I manage to do this, can I "emulate" microcontroller ports/memory etc using LV?

 

Anoop

0 Kudos
Message 3 of 5
(2,429 Views)
Solution
Accepted by topic author RedAG

Anoop,

 

there is a close relation between NI and ARM resulting in the Embedded Module for ARM Microcontrollers. This might already give you everything what you are looking for.

There are other, custom developed approaches like this.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 5
(2,425 Views)

Thanks again Norbert. 

0 Kudos
Message 5 of 5
(2,405 Views)