LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding tcp/ip server side

Hello all,
 
hope its not too irrelevant to the labview.Smiley Tongue
 
I have gone through "simple data client.vi" and "simple data server.vi" examples, want to replace simple data server.vi with a simple c program on a different computer.
Can someone please hint me how to form it?? using v8.5. The ultimate need is: c-program sends the required data to client(labview) whenever it is being requested.
The labview and c-program are on different PCs.
 
Not sure whether simple c-language instructions inport and outport(from dos.h) will do? or do I need to do some socket programming??Smiley Tongue
 
Thanking you.


Message Edited by Parny on 12-09-2007 08:10 PM
0 Kudos
Message 1 of 3
(2,731 Views)
Hi,
You should be able to find a good TCP example written in C on the internet.  Searching on NI's website will most likely only yield LabVIEW examples.  Here is one link I found on the internet. I would search google for "tcp" and "C" to see what you might be able to find.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
Message 2 of 3
(2,705 Views)
Thanks for the link Eric.
0 Kudos
Message 3 of 3
(2,702 Views)