ForceClose()
- Updated2025-10-13
- 1 minute(s) read
Closes all RFmx sessions. Calling this method once will destroy the session, irrespective of the many references obtained for the session for a particular resource name.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public void ForceClose()
Remarks
This method maps to the RFmxInstr_Close() function in C.
If you have used an existing instrument handle to create this session; calling the Dispose, Close, or ForceClose methods will only dispose the .NET resources associated with this session. The pre-existing instrument handle will NOT be released.