Example Code

Configure RealTime Target for PC Hosted Shared Variables

Code and Documents

Attachment

Introduction

The attached utility can be used when distributing an application where a RealTime Target references Network Published Shared Variables on a PC host. As long as the target has been configured in Measurement & Automation Explorer, this utility will programmatically alter the aliases file on the target and reboot it so that it will reference the IP address of the new PC host.

Steps to Complete

Run the attached utility in the zip file and follow the instructions.

Configure Target Screenshot.png

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

Contributors