> I'm a new user of labview. I wonder whether
> I can use a piece of C program in the Labview's
> program. Any information would be appreciated.
>
You should look at using either the Call Library
Function Node or the CIN node. The Call Library
node calls into a DLL or shared library; so if you
can compile the C code into a DLL, then you can
call it from LV. The CIN is a similar mechanism
that allows you to call into C code. The CLF
node is considerably easier to use and typically
powerful enough for the most jobs.
If the C code can't be made into a DLL, but can
be made into an executable, then you can use the
System Exec node to call an EXE. You can pass an
entire command line to pass arguments for whatever
you need. If you need to pass information back
from an
EXE, its easiest to use file I/O. In
otherwords, write the information from the C
EXE into a temporary file and then read if from LV
after the EXE finishes.
Again, the DLL is the easiest and pretty powerful.
Greg McKaskle