LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Communicate data between two application (One in labview and other in C)

Dear all i have two independent application running on same PC. One a C program & a Labview application.

C program will pass some parameters to Labview application and waits for responce back from Labview.

Labview should wait for data from C Program and when it gets that, it should process it and should return it back to C program....

 

How a program can be made in labview to receive a data form Other appliaction

I am using Labview 7.1.

 

 

Abhimaniu
0 Kudos
Message 1 of 4
(3,117 Views)
You could use the TCP/IP protocol to pass data between LabVIEW and the C program.  You would just open up the ports on the same PC and use "localhost" as the IP address.  You can find examples on TCP/IP in the example finder.
Message 2 of 4
(3,113 Views)

This kind of communication works the best when the LabVIEW code is compiled into a DLL.

In C you could call the DLL and the DLL would return the calculated values.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 4
(3,101 Views)
Whether Datasocket can be used for communication between labview & C??
Abhimaniu
0 Kudos
Message 4 of 4
(3,086 Views)