From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-08-2015 02:03 PM
Hi,
I am wondering if I can connect my-rio to the PC (without adding wireless adapter to the PC) through my router network. In other words, If I connect my-rio to the router wireless network, and the PC is connected to the same network through ethernet, can I control my-rio (send/receive commands) through the internet?
Thank you.
Solved! Go to Solution.
11-08-2015 02:21 PM
That's a lot of different questions.
Can you connect the myRIO to your PC over your router? Yes, assuming they're on the same network. The subnet mask is key here.
Can you send commands via the internet? This requires communication that crosses the internet. That likely requires building a web service or tcp/udp style communication path. It will take a little work.
11-08-2015 03:43 PM
Thanks,
Actually I tried to make the first scenario, by configuring my-rio settings and connecting to the network, and then take the IP address to the labview project and assign it to my rio there. But the connection is not sucessful. Do you think I am doing the right procdure?
Note: The PC is connected to the network through an ethernet cable and not through the wifi.
Thanks again
11-08-2015 04:24 PM
In a typical sceanrio, LAN and WIFI are bridged and part of the same subnet. There is no functional difference and there is no routing involved.
Once routing is involved, .i.e. if the two device are on different subnets, there can be complications. First we need to distiguish between plain old routing and NAT routing (as typically found in consumer devices).
For classic routing (assuming that all intermediary routers have appropriate routing tables), the only Issue are firewall policies. The routers neeed to allow the trafic and the endpoints (your windows computer and the MyRIO) need to allow connections to/from other subnets. Most often, they only allow local connections by default for security reasons.
For NAT routing, the LAN subnet is invisible from the public internet. The entire network only has (typically) one public IP address. The NAT router keeps track of a NAT table which remembers the local IP of outging requests (e.g. if you are browsing the web) and thus knows where to sent the replies incoming from the internet, editing the packet headers and pushing them to the LAN side. This only works for ougting connections initiated from the LAN. If the connection originates from the outside, all thats visible is the public IP of the router. In order to run a service on a LAN computer, the router needs to know about it. That's what port forwarding rules are all about. Typically you need to manually configure the router, but certain special applcations can also create automatic forwarding rules (either by the router via an ALG or by the client via UPNP).
In summary, you need to deal with two seperate issues:
Can you ping the MyRIO? What is the IP address of the MyRIO?
11-11-2015 10:16 AM
Thanks. I resolved the problem. Actually it was the university that blocks connecting my rio to the wireless network.
02-29-2016 07:12 AM
What was the found solution to this problem? I am running into the same issue.
Josh
02-29-2016 11:10 AM
@Josh_Roulow wrote:What was the found solution to this problem? I am running into the same issue.
You are replying to an old question that is already marked as solved.
The original post was just a question, not even a problem, so your issue is probably different.
Please start a new thread and explain in detail what you tried so far and what you saw.
02-29-2016 11:12 AM
Apparently continued here.