niSync_GetExtCalLastTemp

C Function Prototype

ViStatus niSync_GetExtCalLastTemp (ViSession vi, ViReal64* temperature);

Purpose

Returns the temperature, in degrees Celsius, of the specified module's circuitry during its last external calibration session.

Use this function in conjunction with niSync_ReadCurrentTemperature to determine if the device is running at a temperature comparable to when it was last calibrated.

Note  
  • You do not need a calibration password to use this function. You can invoke this function with an instrument handle created with either niSync_init or niSync_InitExtCal.
  • This function does not return the ambient temperature of the module. The temperature of the circuitry is generally higher than the ambient temperature.

Parameters

Name Type Description
vi ViSession This parameter specifies the session handle that you obtain from niSync_init or niSync_InitExtCal. The handle identifies a particular instrument session.

Default Value: None

temperature ViReal64 The temperature, in degrees Celsius, of the device's circuitry during its last external calibration session.

Return Values