Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Finding or Setting a Device IP Address

NI InsightCM™ 3.1 Help

Edition Date: July 2017

Part Number: 374498D-01

»View Product Info
Download Help (Windows Only)

Parent Topic: Getting Started with Devices

Adding a device to NI InsightCM Server is easier if you know its IP address. Complete the following steps to find or set the IP address for a device for the first time:

  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.
    Tip  You can use the blank USB drive included in the NI InsightCM Server kit, if available.
  2. Remove the USB drive when the USER1 LED returns to blinking steadily.
  3. Insert the USB drive into a USB port on a computer.
  4. Browse the file structure of the drive to the following directory: <RootLevel>:\InsightCM\download\NI-cRIO-ModelNumber-SerialNumber.
  5. To view the current IP address, skip to step 6. To change the IP address or set the IP address to be static, copy the JSON file whose filename begins with networkInfo_ followed by the device hostname, such as networkInfo_NI-cRIO-ModelNumber-SerialNumber.json, to the following location on the USB drive: <RootLevel>:\InsightCM\upload. You might need to create the upload folder.
  6. Open the JSON file whose filename begins with networkInfo_ followed by the device hostname.
  7. In the array that contains the line "IsPrimary" : true, the following line displays the current IP address:

    "IPAddr":"x.x.x.x",



    where x.x.x.x is the IP address.
  8. To change the IP address, enter the desired value. Otherwise, record the IP address.
  9. (Optional) To assign a static IP address, configure the following line in the array as shown:

    "IP Address Request Mode":"1",

    Note  For additional IP address configurations, refer to IP Address Request Mode Options.
  10. Save the file in the <RootLevel>:\InsightCM\upload directory. If you save the file in another location, the device may not be able to read it.
  11. Close the file.
  12. If you made changes to the file, 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. You can remove the USB drive when the USER1 LED returns to blinking steadily.
Tip  To verify that the device successfully applied changes you made to the file, reinsert the USB drive in a computer and browse to the <RootLevel>:\InsightCM directory. If the changes succeeded, the upload folder no longer contains the JSON file you edited, and instead, a folder named applied contains the file.

Setting the IP Address for an Online Device

If a device is online and you know its IP address, you can enter the IP address on the Device Configuration page»Hardware tab to connect to the device.

IP Address Request Mode Options

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

Related Information

Adding a New Device Configuration

Hardware Tab (Device Configuration Page)


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit