Table Of Contents

Reset (G Dataflow)

Last Modified: August 28, 2017

Resets the specified device to its default state.

You can also reset a module before the program starts by using reset device of Initialize (niSync).

connector_pane_image
datatype_icon

instrument handle in

The instrument handle that you obtain from Initialize.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

instrument handle out

The instrument handle that you obtain from Initialize.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Reset Behavior

When you invoke this function on an NI-Sync device, it executes the following actions:

  • Disconnects all terminal connections.
  • Sets the DDS frequency to 0 Hz.
  • Disables the PLL circuit.
  • Sets all PFI front panel connectors to 50 ohm input impedance.
  • Sets the front and rear zone synchronization clock sources to PXI_Clk10.

Reset Behavior for Time-Based Modules

For time-based timing and synchronization modules, invoking this function also executes the following actions:

  • Stops PTP participation.
  • Resets the 1588 clock to the current system time.
  • Clears all clocks.
  • Clears all hardware and software triggers.
  • Clears all future time events.
  • Disables timestamp triggers.
  • Sets the external time reference to the default source.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics