Connecting a myRIO to an External Network

Updated Nov 16, 2017

Reported In

Hardware

  • myRIO-1950
  • myRIO-1900

Issue Details

My myRIO is connected directly to my host over USB, but it can't see any external network, or even the local area network the host is connected to.

Solution

In the case that an internet connection is needed there are two options:
  • Option 1: Connect the myRIO to a wireless network via the Network Settings tab in NI-MAX.
 
  • Option 2: Bridge the myRIO's network adapter with one that has network connectivity by following these steps: 
    1. Disable the DHCP server built into the USBLAN driver by opening the registry editor and setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ NationalInstrumentsUSBLAN\DHCPDType to 2. (2 = Disabled, 1 = Enabled). Please note that there is no spacing after the "...services\NationalInstrumentsUSBLAN...", it has been word-wrapped so it can fit in the space allotted.
    2. Create a bridge between the network interface with internet connection and the myRIO network interface (Network Connections configuration page):
    3. For a NAT configuration where the myRIO has access to the internet, but is not visible on the intranet Enable Internet Connection Sharing for the network interface with internet connection, and specify the myRIO network interface in the Home networking connection dropdown list.
    4. If the myRIO is connected while making these changes, disconnect, and reconnect the USB cable.

 

Additional Information

When connected via USB the NI myRIO board creates a new network adapter. This means that it only has a local connection between the host computer and cannot access the internet. 

WAS THIS ARTICLE HELPFUL?

Not Helpful