ank Posted January 27, 2007 Report Share Posted January 27, 2007 Hi ! I have established a wireless network between two computers using two usb wireless adapters and I want to send messages between the two computers using labview. From what I have been told , tcp/ip vi's should do. But i have tried them and they are not working. Can anybody please tell me how should i go about it? ( I used simple data server and simple data client vi's from the examples in Labview) Plz help Quote Link to comment
Jeff Plotzke Posted January 27, 2007 Report Share Posted January 27, 2007 When you say they aren't working, are you getting an error messages? One thought is that since the examples are using TCP port 2055 perhaps a firewall is blocking the connection (turn Windows firewall or any other firewalls you have enabled off). Are you setting the client VI with the right IP address of the server? You of course need to replace the 'localhost' string with the IP of the server. Quote Link to comment
ank Posted January 27, 2007 Author Report Share Posted January 27, 2007 When you say they aren't working, are you getting an error messages? One thought is that since the examples are using TCP port 2055 perhaps a firewall is blocking the connection (turn Windows firewall or any other firewalls you have enabled off). Are you setting the client VI with the right IP address of the server? You of course need to replace the 'localhost' string with the IP of the server. I have turned off the firewall and I also replaced the 'localhost' string with the IP of the server but it gave generic error in tcp open connection. I also entered the name of the server computer in place of localhost and then it didn't show any error but connection just timed out. Are you sure I can use tcp/ip vi's for a wireless peer-to-peer network? Quote Link to comment
i2dx Posted January 27, 2007 Report Share Posted January 27, 2007 I have turned off the firewall and I also replaced the 'localhost' string with the IP of the server but it gave generic error in tcp open connection. I also entered the name of the server computer in place of localhost and then it didn't show any error but connection just timed out. Are you sure I can use tcp/ip vi's for a wireless peer-to-peer network? yes, I am sure, I have done this several times, and it works. Maybe you should try to use fixed IP adresses e.g. 192.168.1.1 and 192.168.1.2 and no host names, which would require a DNS service (and that would be quite unusual on a PtP network ...) Quote Link to comment
Yair Posted January 27, 2007 Report Share Posted January 27, 2007 Another Cross-post. If you are cross-posting, it is considered polite to include a link to the other forum to avoid having people waste their time if an answer was already given. Quote Link to comment
ank Posted January 28, 2007 Author Report Share Posted January 28, 2007 Another Cross-post.If you are cross-posting, it is considered polite to include a link to the other forum to avoid having people waste their time if an answer was already given. thanks for telling me about this cross-post thing. I m new to these forums and didn't know about it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.