07-02-2006 11:42 PM
07-03-2006 03:56 AM
hi there,
to execute applications (*.exe) you can use the "System Exec.vi". You can found it in the Communications - palette. to call dlls functions use the "Call library function node" in the Advanced - palette. See the only help for more information or read the "Using external code in LabVIEW" manual.
LabVIEW won't create any diagrams out of compiled Code.
07-04-2006 04:48 AM
Hi chrisger
I am not able to call C program in LabVIEW. Please send an example by which i can learn how to call a C program.
It is very urgent.
Thanxs
07-04-2006 04:58 AM
hi there
well, then we need more information what you mean with a "C program". are you talking about C source code, a command line executable, a high end executable with a GUI, a dll, ActiveX.... what are the parameters you have to pass? what parameters are returned from the "C program"? please post some code....
as a startup you could search the examples shipped with LV. open the example finder from the runtime menu.
07-04-2006 05:09 AM
Hi
thanxs for quick reply.
Actually my senior (he does not Labview) wants me to Call a C program (any simple program say C program for the addition of two numbers) in labview . He just wants to check how i am calling a C program. Till now i am not able to call .
please reply as soon as possible
07-04-2006 05:14 AM
07-04-2006 05:24 AM
plz find the attached code.
I copied it in Notepad.
07-04-2006 06:53 AM
well, first you have to compile this code and generate an executable. then call this executable with the "System Exec vi". see online documentation of "System Exec vi" for more information.
07-04-2006 09:22 AM
07-04-2006 09:38 AM