RFSA C Reference

niRFSA_CalSetTemperature

  • Updated2025-02-03
  • 1 minute(s) read

niRFSA_CalSetTemperature

ViStatus niRFSA_CalSetTemperature(ViSession vi, ViConstString channelList, ViReal64 temperature);

Purpose

Writes the calibration temperature to the driver.

Supported Devices: PXIe-5601

Parameters

Input
Name Type Description
vi ViSession Identifies your instrument session. vi is obtained from the niRFSA_InitExtCal function and identifies a particular instrument session.
channelList ViConstString Identifies which channels to apply settings. Specify an empty string as the value of this parameter.
temperature ViReal64 Specifies the calibration temperature, in degrees Celsius.

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