GetDeviceResponse(RfsaDeviceResponseType, out double[], out double[], out double[])
- Updated2025-10-14
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| 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 | out double[] | Specifies an array containing the frequencies, in hertz (Hz), that correspond to the response data. |
| magnitudeResponse | out 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 | out 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
| Type | Description |
|---|---|
| System.ObjectDisposedException | The GetDeviceResponse method was accessed after the associated NIRfsa object was disposed. |