Example Code

Programmatically Assigning IP Addresses to Real-Time Targets

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW Real-Time Module

Code and Documents

Attachment

Description

 

This example uses the Real-Time System Replication Tools to assign IP addresses through DHCP to unconfigured targets (their IP Address is 0.0.0.0).

 

Note:  The LabVIEW Real-Time Module and Internet Toolkit are required to use these tools.

 

Edit:  Will have previous versions up soon!

 

RTAssignIP_fp.png

RTAssignIP_bd.png

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.