NI-RFSA C Function Reference

niRFSA_PerformThermalCorrection

  • Updated2025-05-22
  • 2 minute(s) read

niRFSA_PerformThermalCorrection

ViStatus niRFSA_PerformThermalCorrection(ViSession vi);

Purpose

Corrects for temperature variations while acquiring the same signal for an extended period of time in a continuous acquisition.

NI-RFSA internally acquires the temperature every time you initiate an acquisition. If you are performing a continuous acquisition, National Instruments recommends calling this function once every 10 minutes in a stable temperature environment to periodically update temperature calibration. If the ambient temperature varies, call this function more frequently.

Note Note  You cannot call this function if your device is operating in RF list mode.

Refer to the Thermal Management section for your device for more information about typical operating temperatures.

Supported Devices: PXI-5661, PXIe-5663/5663E/5665/5667/5668, PXIe-5693/5694, PXIe-5830/5831/5832/5840/5841/5842

Parameters

Input
Name Type Description
vi ViSession Identifies your instrument session. vi is obtained from the niRFSA_init or niRFSA_InitWithOptions function.

Return Value

Name Type Description
status ViStatus Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an NI-RFSA function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the niRFSA_GetError function. To clear the error information from NI-RFSA, call the niRFSA_ClearError function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience