Unable to Set the IP Addressing Mode to DHCP Only for sbRIO-9605

Updated Apr 29, 2022

Reported In

Hardware

  • sbRIO-9605

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Issue Details

I have an sbRIO-9605 but I am unable to see DHCP only as the IP address mode in NI MAX. I want my sbRIO to receive an IP address only from the DHCP server and do not self-assign a static IP. My goal is to set the sbRIO to obtain an IP address only when the server gets responsive. Is there a way to enable the DHCP only mode from NI MAX or make a startup VI from LabVIEW to set the correct logic of IP addressing?

Solution

The sbRIO-9605 does not support the mentioned IP addressing mode. It only supports the Static and DHCP or link local modes. However it is possible to set up a startup VI which will automatically reboot the sbRIO-9605 until it gets the IP address from the DHCP server. Typically, when set to DHCP or link local mode, the sbRIO-9605 automatically attempts to connect to the network using DHCP. If DHCP server is not available, the controller connects to the network with a link-local IP address with the form 169.254.x.x. Writing a LabVIEW code which will use a case structure to determine if the current IP address belongs to 169.254.x.x and rebooting every time it does get an IP from that range will eventually set the device stay booted only if it gets an IP from the DHCP server.