LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling a C program from labview

Hi all
Please help me regarding calling a C program through labview.I have
successfully called a simple c program using a call library function
node...making a DLL..but when i call a C program which interns read
data through a file..(.txt file)...the labview simply hangs...
can you please suggest me some way out...
thannks
Aparna

0 Kudos
Message 1 of 3
(2,583 Views)
You need to provide more information for us to be able to help you. There are million ways a you can hang your programs 🙂
--
Tomi Maila
0 Kudos
Message 2 of 3
(2,566 Views)
Hi Aparna,
 
In order to zoom in on the root cause of your problem, it would be helpful to have more information on your application. Have you tried calling your C DLL from any other programming languages? What exactly are the inputs and outputs (along with datatypes) of your DLL? Does LabVIEW give any error message when it "hangs"? I am sure that we can work together to resolve this issue.
 
Regards,
 
Casey Weltzin
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,542 Views)