NIRfsa Namespace

Table of Contents

RfsaDriverUtility.GetDeviceResponse Method

  • Updated2025-07-17
  • 1 minute(s) read
RfsaDriverUtility.GetDeviceResponse Method

RfsaDriverUtilityGetDeviceResponse Method

Returns the requested response type, based on the current NI-RFSA settings.

Namespace: NationalInstruments.ModularInstruments.NIRfsa
Assembly: NationalInstruments.ModularInstruments.NIRfsa.Fx45 (in NationalInstruments.ModularInstruments.NIRfsa.Fx45.dll) Version: 2025

Syntax

public void GetDeviceResponse(
	RfsaDeviceResponseType responseType,
	out double[] frequencies,
	out double[] magnitudeResponse,
	out double[] phaseResponse
)
Public Sub GetDeviceResponse ( 
	responseType As RfsaDeviceResponseType,
	<OutAttribute> ByRef frequencies As Double(),
	<OutAttribute> ByRef magnitudeResponse As Double(),
	<OutAttribute> ByRef phaseResponse As Double()
)

Parameters

responseType  RfsaDeviceResponseType
Specifies the IF, RF, or combined (IF and RF) response of the downconverter or RF vector signal analyzer (VSA) that NI-RFSA returns.
frequencies  Double
Specifies an array containing the frequencies, in hertz (Hz), that correspond to the response data.
magnitudeResponse  Double
Specifies an array containing the magnitude of the requested response, in decibels (dB). The magnitude response is normalized to the center frequency at each frequency in the array.
phaseResponse  Double
Specifies an array containing the phase of the requested response, in degrees. The phase response is normalized to the center frequency at each frequency entry in the array.

Return Value

Returns the requested response type, based on current NI-RFSA settings.

Exceptions

ExceptionCondition
ObjectDisposedException The GetDeviceResponse(RfsaDeviceResponseType, Double, Double, Double) method was accessed after the associated NIRfsa object was disposed.

See Also

Log in to get a better experience