NI-Sync C API Reference

niSync_ReadCurrentTemperature

  • Updated2023-02-21
  • 1 minute(s) read

C Function Prototype

ViStatus niSync_ReadCurrentTemperature (ViSession vi, ViReal64* temperature);

Purpose

Reads the current temperature, in degrees Celsius, of the specified device's circuitry.

Use this function to determine if the device is in a properly cooled location or if it needs external calibration.

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 device. The temperature of the circuitry is generally higher than the ambient temperature.

Parameters

Name Type Description
vi ViSession 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 Returns the temperature, in degrees Celsius, of the specified device's circuitry.

Return Values

Log in to get a better experience