From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Hello, I've got a fairly complicated program I've written in C that
requires two doubles to be passed to it and it spits out two integers
as a result of a very detailed calculation. Is there a way to have
labview call this C function? I've tried searching the NI.com website
but all I could find were examples where labview was being compared to
C in an attempt to show how they are equal. Any advice/links to
relevant information or tutorials would be greatly appreciated.
Compile your C code into a DLL and call it with "Call Library Function Node".
Use the "Code Interface Node".
The LabVIEW Bookshelf (under help) contains a PDF document name "Using external code in LabVIEW". It will probably answer all your questions. Good luck 🙂