ResetDevice()
- Updated2025-10-14
- 1 minute(s) read
Performs a hard reset on the device.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public void ResetDevice()
Remarks
A hard reset consists of the following actions:
All session properties are reset to their default states. During a device reset, routes of signals between the current and other devices are released, regardless of which device created the route. For example, a trigger signal exported to a PXI trigger line that is used by another device is no longer exported. On the NI 5600, if you are using PXI_CLK10, you continue to drive the clock even after a device reset.
Signal acquisition is stopped.
All routes are released.
External bidirectional terminals are tri-stated.
FPGAs are reset.
Hardware is configured to its default state.
All session properties are reset to their default states. During a device reset, routes of signals between the current and other devices are released, regardless of which device created the route. For example, a trigger signal exported to a PXI trigger line that is used by another device is no longer exported. On the NI 5600, if you are using PXI_CLK10, you continue to drive the clock even after a device reset.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The ResetDevice method was accessed after the associated NIRfsa object was disposed. |