NI System Configuration API Reference

Restart (VI)

  • Updated2023-02-21
  • 2 minute(s) read
Installed With: NI System Configuration

Reboots a system or network device.

Restart

cbool.gif

Wait Until Complete waits until the reboot has finished before the VI operation is completed, by default. Select FALSE to not wait until the reboot is finished before the VI completes its operation.

cio.gif

Session in specifies the system being rebooted.

cbool.gif

Install Mode does not reboot the system into install mode by default. To reboot into install mode, select TRUE.

cbool.gif

Flush DNS does not clear the DNS cache by default. DNS clients temporarily store system hostnames. Flushing the DNS allows you to clear those names from the memory.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cu32.gif

Timeout specifies the time in seconds that the VI waits to establish a connection before it returns an error. The default is 3 minutes.

iio.gif

Session out returns the refnum for the system.

istr.gif

New IP Address returns the new IP address of the rebooted system. This may differ from the previous IP address if the system acquires a different IP address from the DHCP server.

ierrcodeclst.gif

error out returns error information. This output provides standard error out functionality.

Log in to get a better experience