You can change the network settings of an RT target including the name using \vi.lib\real-time\rtutility.llb\RT Apply Target Network Settings (Static).vi
Manually you can retrieve the ni-rt.ini file, change the machine name, and redeploy it to the target.
Ok, thanks that will work but I do not really want to have the controller reset.
I tried to use the FPC write packet vi to change the host name but it did not work.
I opened a connection read the FPC, modified the hostname (with pading) and
then did the write. Is there something else that needs to be done?
Unfortunately what else needs to be done is to reset or reboot the controller so that it goes back out to the DHCP server and re-registers, informing the DHCP/DNS server of its new name.
The FPC Write updates the INI file, but does not inform the DNS server of the change. If you query the RT target for its name (e.g. in MAX) it will return the new name even without rebooting.