NI-RFPM API Reference

RfpmRfmxCallbacks.GetInfo Method

  • Updated2023-12-28
  • 1 minute(s) read
RfpmRfmxCallbacks.GetInfo Method

RfpmRfmxCallbacksGetInfo Method

Gets the NI-RFPM callbacks for NI-RFmx.
This property does not support the mmWave subsystem.

Namespace:  NationalInstruments.ModularInstruments.NIRfpm
Assembly:  NationalInstruments.ModularInstruments.NIRfpm.Fx40 (in NationalInstruments.ModularInstruments.NIRfpm.Fx40.dll) Version: 2023

Syntax

public void GetInfo(
	out IntPtr rfpmSubsystemContext,
	out IntPtr[] rfpmCallbacks,
	out int rfpmCallbacksVersion
)
Public Sub GetInfo ( 
	<OutAttribute> ByRef rfpmSubsystemContext As IntPtr,
	<OutAttribute> ByRef rfpmCallbacks As IntPtr(),
	<OutAttribute> ByRef rfpmCallbacksVersion As Integer
)

Parameters

rfpmSubsystemContext
Type: SystemIntPtr
Returns the NI-RFPM subsystem context.
rfpmCallbacks
Type: SystemIntPtr
Returns an array of pointers to NI-RFPM callbacks for NI-RFmx.
rfpmCallbacksVersion
Type: SystemInt32
Returns the version of the callbacks.

Exceptions

ExceptionCondition
ObjectDisposedExceptionGetInfo(IntPtr, IntPtr, Int32) was called after the associated NIRfpm or RfpmDriverUtility object was disposed.

Remarks

Once the context and the callbacks are obtained from NI-RFPM, call public int RegisterExternalRFSubsystemCallbacks(IntPtr externalRFSubsystemContext, IntPtr[] callbacks, int callbackVersion); to register NI-RFPM callbacks within NI-RFmx session.

See Also

Log in to get a better experience