LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO-9024 Gateway Address - How to change this programmatically without rebooting?

Solved!
Go to solution

I would like my cRIO-9024 (LabVIEW 2014) application to be able to change the gateway address of the controller and then implement the change without having to reboot the controller.

 

Currently, the only method I can see to programmatically change the gateway address is to edit the ni-rt.ini file, and then reboot the controller. I would like to avoid having to reboot the controller. Is there a way to programmatically stop and start the ethernet service, or something equivalent?

0 Kudos
Message 1 of 4
(3,036 Views)
Solution
Accepted by topic author Chris_12345

NOTE: I have not tried this and it may not work.

 

Using the Software Management sub palette under System Configuration of RT Utilities you can set the IP Address (sub-net, discovery type, etc...)  Again, I haven't tried it and have no 9024 handy to test it on.


"Should be" isn't "Is" -Jay
Message 2 of 4
(3,021 Views)

The 902x cRIOs run VxWorks, you have to reboot it to change the IP. I expect the same is true for the gateway IP and DNS configuration.

 

I will note that the newer LinuxRT cRIOs can do this 🙂 (906x and 903x series).

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 3 of 4
(3,014 Views)

Sorry for the delay in responding. I finally tried this out, and using the SysCfg utilities works. I use Initialize Session, then set the Gateway Property, then Save Changes, then Close. A re-boot is needed for the change to be applied.

0 Kudos
Message 4 of 4
(2,763 Views)