NI System Configuration API Reference

Reset Resource (VI)

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

Executes reset on a specified resource. By default, it reinitializes the hardware to its power-on state.

Reset Resource

crn.gif

Resource in is the resource object refnum returned from the Find Hardware VI.

cerrcodeclst.gif

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

cu32.gif

Remote Timeout specifies the time in milliseconds that this VI waits before it times out. The default amount of time that the VI waits for a response on the network before timing out is 5 minutes. In some cases, the operation may take longer to complete. This timeout is for remote systems only.

cu32.gif

Reset Mode specifies how to reset the specified resource.

reinitialize hardware (0)

(default) Resets the hardware to its power-on state. This fully reinitializes the device. If the device had exceeded a threshold such as the temperature operating range, this operation clears that status.

clear software settings (1)

Resets the software settings for this item to the initial configuration state. If the item supports the Rename Alias operation, this mode changes the alias to the value this item would have if it were only now being added to the system. If configuring this device caused the creation of dependent child items which cannot exist standalone, this mode will delete those dependent items.

ibool.gif

Dependent Items Deleted returns whether resources other than the specified one were deleted. For example, this may happen if the resource is a simulated chassis that contained modules.

irn.gif

Resource out returns basic information about the system resource.

istr.gif

Detailed Result returns a string containing results of any errors that may have occurred during the VI execution. This parameter also may return additional information about the results of the VI execution.

ierrcodeclst.gif

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

Log in to get a better experience