RFmxSpecAn Spectrum Fetch Measurement VI
- Updated2025-10-13
- 3 minute(s) read
Fetches the peak amplitude and frequency at which the peak occurred in the spectrum.

Inputs/Outputs
Selector String
—
Selector String specifies a selector string comprising of the signal name and result name. If you do not specify the signal name, the default signal instance is used. If you do not specify the result name, the default result instance is used. The default value is "" (empty string). Example: "" "signal::sig1" "result::r1" "signal::sig1/result::r1" You can use the RFmxSpecAn Build Signal String VI to build the selector string.
Instrument Handle In
—
Instrument Handle In specifies the RFmx session refnum. Instrument Handle In is obtained from the RFmxInstr Initialize NIRFSA VI.
Timeout (s)
—
Timeout specifies the timeout, in seconds, for fetching the specified measurement. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the VI waits until the measurement is complete. The default value is 10.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Frequency Resolution (Hz)
—
Frequency Resolution returns the frequency bin spacing, in Hz, of the spectrum acquired by the measurement. This parameter is not valid if you set the Spectrum Span property to 0.
Instrument Handle Out
—
Instrument Handle Out passes a reference of your RFmx session to the next VI.
Peak Amplitude
—
Peak Amplitude returns the peak amplitude, of the averaged spectrum. When you set the Spectrum Span property to 0, this VI returns the peak amplitude in the time domain power trace.
Peak Frequency (Hz)
—
Peak Frequency returns the frequency, in Hz, at the peak amplitude of the averaged spectrum. This parameter is not valid if you set the Spectrum Span property to 0.
error out
—
error out contains error information. This output provides standard error out functionality. |
Selector String
—
Instrument Handle In
—
Timeout (s)
—
error in (no error)
—
Frequency Resolution (Hz)
—
Instrument Handle Out
—
error out
—