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

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public void GetDeviceResponse(RfsaDeviceResponseType responseType, out double[] frequencies, out double[] magnitudeResponse, out double[] phaseResponse)

Parameters

NameTypeDescription
responseTypeRfsaDeviceResponseType

Specifies the IF, RF, or combined (IF and RF) response of the downconverter or RF vector signal analyzer (VSA) that NI-RFSA returns.

frequenciesout double[]

Specifies an array containing the frequencies, in hertz (Hz), that correspond to the response data.

magnitudeResponseout 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.

phaseResponseout 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.

Returns

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

Exceptions

TypeDescription
System.ObjectDisposedException

The GetDeviceResponse method was accessed after the associated NIRfsa object was disposed.