RfsgDriverUtility.ResetWithOptions Method
- Updated2025-05-22
- 1 minute(s) read
Rfsg
Resets all properties to default values and specifies steps to omit during the reset process, such as signal routes.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx45 (in NationalInstruments.ModularInstruments.NIRfsg.Fx45.dll) Version: 2025
Syntax
public void ResetWithOptions( RfsgResetStepsToOmit stepsToOmit )
Public Sub ResetWithOptions ( stepsToOmit As RfsgResetStepsToOmit )
Parameters
- stepsToOmit RfsgResetStepsToOmit
- Specifies a list of steps to skip during the reset process.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The ResetWithOptions(RfsgResetStepsToOmit) method was accessed after the associated NIRfsg object was disposed. |
Remarks
By default, this method exhibits the same behavior as ResetAttribute(PropertyInfo).
You can specify steps to omit using the steps to omit parameter. For example, if you specify Routes for the steps to omit parameter, this method does not release signal routes during the reset process.
When routes of signals between two devices are released, they are released regardless of which device created the route.
To avoid resetting routes on the PXIe-5644/5645/5646 and PXIe-5820/5830/5831/5832/5840 that are in use by other NI-RFSA or NI-RFSG sessions, NI recommends using this method instead of ResetAttribute(PropertyInfo) with RfsgResetStepsToOmit set to Routes.