02-27-2007 09:43 AM
02-27-2007 09:50 AM - edited 02-27-2007 09:50 AM
Message Edited by Marc A on 02-27-2007 10:50 AM
02-27-2007 10:02 AM
02-27-2007 10:15 AM
Then why not just use static IP addresses? You could just ask the user for the IP of the CE environment in the LV program. As far as the communication, both computers will have to have something running to send the data. One will be a client, the other a server. It doesn't matter what language you use as long as both programs understand the structure of the packets that are being sent.
Take a look at the examples under the networking -> TCP and UDP folder in the example finder to see how it all works.
02-09-2009 07:49 AM
Hi
I am facing a similar situation. My pc is the client and a device connnected to my pc is the server. I am using static IP address for my server. My question is using Labview how can I find out IP address of the server? FYI, I am aware of TCP/IP palette. My PC will initiate the communication and in order to do that I need to know IP of server. During operation, the device is the only thing connected to my PC(using ethernet cable)(PC not connected to Internet) Will that aid in locating IP of server faster?
Pls help. Thank u.
02-10-2009 09:02 PM
Hi,
There is another discussion forum where they have discussed a situation exactly like yours. They discuss a solution where the servers annouce themselves thorough UDP packet to the subnet broadcast address and to a specific port. This way you know if the server is up and you can get their information using UDP packets.
There are also some examples in the example finder on using the TCP/IP functions itself even though there isn't a specific example about your situation itself.
This example talks about TCP Client/Server with automatic reconnection.
Hope this helps!
02-10-2009 11:26 PM