Format System (VI)
- Updated2023-02-21
- 6 minute(s) read
Erases all data from the primary hard drive of a system.
Format 5.3
Erases all data from the primary hard drive of a system. If the system is not in user-directed safe mode and force safe mode is FALSE, this VI will return an error.

![]() |
Force Safe Mode specifies to force the target into user-defined safe mode. Not all targets support this feature. For a listing of real-time targets that the Format VI cannot force into user-defined safe mode, refer to KnowledgeBase article 5KOD9R7S . |
||||||||||
![]() |
Restart After Format restarts the system after formatting by default. Select FALSE to not restart. |
||||||||||
![]() |
Session in specifies the system being formatted. |
||||||||||
![]() |
File System formats the primary hard drive into a user-selected file system. Not all systems support all modes.
|
||||||||||
![]() |
Network Settings specifies the network settings you want to apply to the target.
|
||||||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality. |
||||||||||
![]() |
Timeout specifies the time in milliseconds that the VI waits for the format to time out. This timeout is optional. The default is 5 minutes. |
||||||||||
![]() |
Session out returns the refnum for the system being formatted. |
||||||||||
![]() |
error out returns error information. This output provides standard error out functionality. |
Format With Base System Image
Erases all data from the primary hard drive of a system. If the system is not in user-directed safe mode and restart automatically is FALSE, this VI will return an error.

![]() |
Restart Automatically restarts the system into install mode by default before the operation is performed, and restarts back to a running state after the operation is complete. If you choose not to restart automatically, the operation will fail if the system is not already in install mode. |
||||||||||||||||||||||||
![]() |
Session in specifies the system being formatted. |
||||||||||||||||||||||||
![]() |
File System formats the primary hard drive into a user-selected file system. Not all systems support all modes.
|
||||||||||||||||||||||||
![]() |
Network Settings specifies the network settings you want to apply to the target.
|
||||||||||||||||||||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality. |
||||||||||||||||||||||||
![]() |
Timeout specifies the time in milliseconds that the VI waits for the format to time out. This timeout is optional. The default is 5 minutes. |
||||||||||||||||||||||||
![]() |
Base System Image specifies the base system image with which to format the target. Specifying an image with an empty ID is the same as calling the Format VI.
|
||||||||||||||||||||||||
![]() |
Session out returns the refnum for the system being formatted. |
||||||||||||||||||||||||
![]() |
error out returns error information. This output provides standard error out functionality. |








