From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-17-2015 02:36 AM
tcp server and client example vi is working fine on single computer . i want to implement it in two different computers one as a server and one as client, what changes i need to do in listner and tcp open connection configuration. i am using labview 2013.
02-17-2015 05:16 AM
In theory, you only need to change the IP address you are connecting to in the client and you shouldn't need to change anything on the server.
In reality if it doesn't work, you may run into firewall/networking issues - if you're on the same network then you may need to configure any firewall software to allow the server to listen for incoming connections on the port you've configured and you may need to allow the client to connect to it.
If you're on different networks (e.g. over the internet) then you'll need to configure your router/gateway to forward the appropriate port to your server.
02-17-2015 09:04 AM
thnax for d response. i switched off the firewall of both the computers then i am able to ping in command prompt too. but labview one server and one client is not working.
02-17-2015 09:32 AM
02-17-2015 09:40 AM
compuetrs are connected through ethernet cable with each other. error 63 timeout is coming sometimes.
02-17-2015 10:17 AM
Directly connecrted? No other hardware? Are you using static IP addresses?
02-17-2015 11:30 AM
02-17-2015 11:35 AM
So static IP addresses? What addresses are you using? What is the subnet mask you are using for both computers?
Are you sure you are using the Server's IP Address when trying to connect with the client?
02-17-2015 10:07 PM
subnet mask is - 255.255.0.0 for both pc
1st block of server is tcp listen - port no 6341
timeout 30000 ms
1st block of client is - tcp open connection
the settings for which are-:
address - i have given ip address of pc while running both server and client on same pc
port - 6340
kindly suggest what settings needed to be done for running server and client on different pcs