LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

implement c language in labview

No one here is going to convert that C code into LabVIEW since this forum is not a code-writing service. We provide suggestions and help to answer questions, but we don't do people's work or homework. In your specific case you have a C program which was written to be a console application. One way to integrate this into LabVIEW is to convert the console application into a DLL. This is not a LabVIEW issue, as it's a C issue. Once you have the DLL then you can call it from LabVIEW. If you do not know how to convert the application into a DLL then I would suggest following up on altenbach's suggestion and instead of showing us the C code then show us where the algorithm is defined in mathematical terms.
Message 11 of 12
(682 Views)

If you have a C program LabVIEW has the Code Interface Node on the Connectivity >> Libraries and Executables palette.

Calling Code Written in Text-Based Programming Languages

External Code for LabVIEW - CIN / DLL - Starting Point

 

You need a compiler for the C program.

0 Kudos
Message 12 of 12
(659 Views)