Initiates a spectrum acquisition and returns single precision power spectrum data.

Note Under certain configurations, negative infinity is returned from this VI. If the Reference Level is very high and if the Signal Bandwidth is comparatively less, the ADC returns zero, which equates to negative infinity in dBm. This is expected behavior.

Supported Devices: PXIe-5820/5830/5831/5832/5840/5841/5842/5860


icon

Inputs/Outputs

  • civrn.png instrument handle

    instrument handle identifies your instrument session. instrument handle is obtained from the niRFSA Initialize VI or the niRFSA Initialize With Options VI.

  • cdbl.png timeout (10 sec)

    timeout specifies the time, in seconds, allotted for the VI to complete before returning a timeout error. A value of -1 specifies that the VI waits until all data is available. The default value is 10.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png instrument handle out

    instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niRFSA Initialize VI or the niRFSA Initialize With Options VI and identifies a particular instrument session.

  • icclst.png power spectrum

    power spectrum returns power spectrum data.

  • idbl.png f0

    f0 returns the center frequency, in Hz, of the first bin of the power spectrum data.

  • idbl.png df

    df returns the frequency interval, in Hz, between data points in the spectrum.

  • i1dsgl.png data

    data returns the acquired waveform as an array. If averaging is enabled, data returns the averaged power spectrum.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.