11-23-2001 09:12 AM
11-23-2001
10:10 AM
- last edited on
03-27-2026
12:19 PM
by
Content Cleaner
Hi;
To use external code in LabVIEW, you can create a dynamic link library (.dll) that you can call from LabVIEW or a Code Interface Node (CIN). The instructions on how to make any of those are in National Instruments manual Using External Code in LabVIEW, which is included with LabVIEW, or you can download it from NI website.
Also, in the knowledge base there is a "External Code for LabVIEW - CIN / DLL - Starting Point" page.
If, on the contrary, you want to use LabVIEW code on your C application, you can build dll's in LabVIEW. Depending on your version of LabVIEW, you may need Application Builder to do so.
Of course, you can also use other techniques like, for example, making that your LabVIEW application save the data in a file and then your C++ application read the file and continues from there, or vice versa. You can also use the "System Exec.vi" in LabVIEw to do that, assuming your C code is an executable.
Regards;
Enrique
11-27-2001 07:55 AM