ResetDriver()
- Updated2025-10-13
- 1 minute(s) read
Restores the NI-RFSA driver state to a default state to avoid RFmx using any hardware or driver state that was set by the RF toolkits or other custom NI-RFSA code.
Use this method when you switch back to using RFmx to perform measurements after you have used the NI-RFSA handle to perform measurements with RF toolkits or you have used other custom NI-RFSA code. Unlike the ResetToDefault method, the RfmxInstr Reset Driver method does not reset RFmx methods configured on the RFmx session. Hence, you do not need to set RFmx methods again when switching back to RFmx measurements. Refer to RFmx SpecAn CHP - WCDMA ModAcc - CHP Example (LabVIEW) on ni.com for more information about using RFmx to perform measurements.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int ResetDriver()
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.