Close()
- Updated2025-10-13
- 1 minute(s) read
Closes the RFmx session. Call this method a number of times equal to the number of times you obtained a reference to the RFmx session for a particular resource name.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public void Close()
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.
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.