Jump to content

using tcp/ip 'vi's to communicate through a wireless peer-to-peer network


ank

Recommended Posts

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

Link to comment

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.

Link to comment
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?

Link to comment
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 ...)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.