LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

All of a sudden having network issues with my CompactRIO

I've got a compactrio plugged in to a linksys wifi extender, which is connected wirelessly to the main router here in the building. This is so I can connect to the rio wirelessly while it's moving about on a forklift.

 

It was working, and now it's not. And I'm pretty stumped as to why. Hoping maybe someone has an idea or can spot something wrong here.

 

CompactRIO info:

IP address: 10.0.10.10 (static)

Subnet Mask: 255.255.255.0

Gateway: 0.0.0.0

 

Wi-Fi Extender info:

IP address: 10.0.10.32

Subnet Mask: 255.255.255.0

Gateway: 10.0.10.1

Connected correctly with the main router's credentials

 

- I can connect to the wifi extender and access the internet, so that's working.

- With my laptop connected to the wifi extender, I can ping the compactrio and get a reply

- With my laptop connected to the main router, I can also ping the compactrio and get a reply. Which means packets are going through the main router, to the wifi extender, to the compactrio successfully

- When my laptop is connected to the main router, NI MAX does not see the compactrio at all, it says status is disconnected. 

- When my laptop is connected to the wifi extender, NI MAX can see the compactrio, the status says it's connected, but also says "There was a problem contacting the System Web Server on the target." and won't give me any other information. I'm also unable to connect to the rio from my labview project.

0 Kudos
Message 1 of 3
(1,225 Views)

UPDATE

 

After posting this, I decided to try changing the compactrio's IP address to something different. And now it works. I'm guessing there was an IP conflict??? Some other device must have taken the 10.0.10.10. How can I prevent this from happening in the future??

0 Kudos
Message 2 of 3
(1,220 Views)

Is this router responsible for assigning the IP addresses?  If it is, you have a few options.

  • Disable DHCP and make all IP addresses static.
    • Not recommended, but sometimes this is the only way with ancient routers.
  • Keep DHCP, reserve the cRIO IP address.  This involves noting the MAC address of the cRIO and assigning the desired address to it.
    • Recommended.  You may as well reserve any other IP addresses that need to stay the same while you're at it.
Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 3
(1,201 Views)