Table Of Contents

Finding or Setting a Device IP Address

Version:
    Last Modified: October 16, 2020

    Locate or add the IP address of a device to add it to the server.

    Before you begin, power on your NI monitoring device and connect a removable drive. Use either a type C drive or a type A drive with a type C converter. If you are using an encrypted USB flash drive, make sure that it is formatted to use the FAT32 file system. Once you have mounted your NI monitoring device, either find and use the device's IP address or set the IP address to one you receive from your IT department. In either case, save a copy of and update several fields in the device's networkInfo.json file.
    The following table shows all supported values for the IP Address Request Mode field:
    Value IP Address Type
    1 Static
    2 DHCP or Link Local
    3 Link Local Only
    4 DHCP Only
    1. Insert the USB drive into the USB port on the controller front panel. The USER1 LED lights solid, which indicates that the device is reading from or writing to the settings file.
    2. Remove the USB drive when the USER1 LED starts blinking again.
    3. Insert the USB drive into a USB port on a computer.
    4. Navigate to the following directory on the USB drive:
      <RootLevel>:\InsightCM\download\NI-cRIO-ModelNumber-SerialNumber
    5. Create an upload folder in the InsightCM folder if one does not already exist.
    6. Save a copy of the networkInfo_<device hostname>.json to the following location on the USB drive:
      <RootLevel>:\InsightCM\upload
      spd-note-note
      Note  

      If you save the file in another location, the device will not read it.

    7. Open networkInfo_<device hostname>.json.
    8. Locate the IP address within the object that contains "IsPrimary":"true". The following name/value pair defines the IP address:
      IPAddr:x.x.x.x
    9. Enter a new value in the IP addess field for the primary object.
      spd-note-note
      Note  

      If using dynamic host configuration protocol (DHCP), record the IP address. However, NI recommends using static addresses.

    10. To assign a static IP address, change the IP Address Request Mode value to 1.
    11. Enter new values in the Subnet Mask and Gateway fields in the primary object according to information you receive from your IT department.
    12. Save and close the file.
    13. If you made changes to the file, complete the following steps to apply your changes to the device:
      1. Insert the USB drive back into the USB port on the controller front panel. The USER1 LED lights solid, which indicates that the device is reading network and connection properties.
      2. You can remove the USB drive when the USER1 LED returns to blinking steadily.
      3. Reinsert the USB drive into a computer and browse to <RootLevel>:\InsightCM.
      4. Verify the applied folder contains networkInfo_<device hostname>.json.

    Recently Viewed Topics