From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Real-Time Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mads

Make it possible to change IP configuration on the fly

Status: In Development

Current workaround through NI Linux RT and Sys Config API: https://decibel.ni.com/content/message/103853#103853

Changing the IP setup currently requires a restart. It is now possible to change the configuration of all network interfaces programmatically using the System Configuration API, but it's not possible to put such changes into effect on the fly, so you actually have to shut down your application to put the changes into effect, something that might not be allowable.

 

So let's say e.g. that I have a controller with dual network interfaces and I want to reconfigure one of the network interfaces (turn on DHCP e.g.) - but I do NOT want to stop the RT application, because it controlls processes via other interfaces, and those processes must be kept alive. If it was a Windows PC, I could have done it. On an NI controller, which is ironically then typically used for more critical tasks, I cannot.

1 Comment
Deborah_B
Active Participant
Status changed to: In Development

Current workaround through NI Linux RT and Sys Config API: https://decibel.ni.com/content/message/103853#103853

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect