RestartWindowViewer() function
- Last UpdatedApr 17, 2025
- 1 minute read
Shuts down WindowViewer, copies the updated NAD Repository application (if configured to do so), and then restarts WindowViewer.
Category
system
Syntax
RestartWindowViewer();
Remarks
This function is used to update an application when the automatic update Network Application Development (NAD) functions are not used.
Use the $ApplicationChanged system tag to determine when a NAD update has occurred.
You use the Notify Clients command to initiate a NAD update. However, the operator may want to delay the update until a later time. You can use this function with a button action script so that the operator can restart WindowViewer when it is convenient.
You could instead use the ReloadWindowViewer() function, which updates the View node without shutting down WindowViewer.
See Also
$ApplicationChanged, ReloadWindowViewer()