RFmxInstrMX.GetInstrumentHandle Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Gets the SafeHandle to the RFmxInstrMX instrument session.
Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)
Syntax
public SafeHandle GetInstrumentHandle()
Public Function GetInstrumentHandle As SafeHandle
Return Value
SafeHandleA SafeHandle to RFmxInstrMX instrument session.
Remarks
Using the SafeHandle, you can get the IntPtr to the session; however, there are risks involved with using the IntPtr.
It is difficult to know the state of the handle, and the handle could be recycled while you are using it. For more information, refer to
DangerousGetHandle.