To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to use the NI System Configuration API to configure the IP address of a remote target.
Description
The NI System Configuration VIs can be used to gather information and perform tasks programmatically on both local and remote systems. The NI System Configuration API could be seen as a programmatic possibility to perform actions that can be normally done with the Measurement & Automation Explorer (MAX).
The example uses the NI System Configuration API to list the available targets and to configure the IP address settings for the selected device.
After the changes are applied the example waits for the target to reboot (which is normally necessary to apply changes to IP address settings).
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.