LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sendindg data via TCP-IP

Hello,I am having text file in my system,I have to read this file in Labview and send this file via TCP/IP TO A REMOTE SYSTEM located some 300km away.Iam having system address and port number.Pls help me how I can solve this problem.The information which iam having is enough or still I need some information.any examples are welcome.
0 Kudos
Message 1 of 8
(3,582 Views)
You would need more information on the remote server.
What kind of server is it (e.g. ftp, some custom server written in LabVIEW, etc.)?
What is the port number? It might give us a clue.
0 Kudos
Message 2 of 8
(3,574 Views)
First be sure you can establish a connection by using ping. Then look at the examples that come with labview in \examples\comm\TCP.llb. There are many vi's here to help you get started.
- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 8
(3,565 Views)
If the remote system is running LabVIEW, you might try the Data Socket. I have found this to be a simple, but effective solution to this type of problem. Also, if you have LabVIEW Application Builder, you can build an application for the remote system and run it there, Data Socket will still work and you do not need to buy another copy of LabVIEW.
0 Kudos
Message 4 of 8
(3,558 Views)
You can find some tutorials and examples here.

___________________
Try to take over the world!
0 Kudos
Message 5 of 8
(3,547 Views)
Thank u very much for ur reply.Here iam giving address of the computer and port number

The address of the computer is: rehp30.rbg.infineon.com
PORT-number:=10697

waiting for ur reply
0 Kudos
Message 6 of 8
(3,542 Views)
Thank u very much for ur reply.Here iam giving address of the computer and port number

The address of the computer is: rehp30.rbg.infineon.com
PORT-number:=10697

waiting for ur reply
0 Kudos
Message 7 of 8
(3,543 Views)
You clearly need more information how the server is expecting connections. It seems to me you don't have any control of the server. hostname and port information will NOT be sufficient.

This is not a standard service port. I tried to telnet to that port of that server to see if I get some sort of banner, but got a failed connection (This could of course be a firewall issue)..

There is a nearly infinite range of servers and there is no way to find out more without the cooperation of the administrator on the other end.

Is there any kind of applications that you can currently use to manually transfer files to it? What is the name of that applications?

Currently, you don't even know if it is TCP (e.g. http, ftp) or UDP (e.g. tftp). You need the exact server specifications! 🙂
Message 8 of 8
(3,527 Views)