niDCPower_ReadCurrentTemperature

NI-DCPower Function Reference

niDCPower_ReadCurrentTemperature

ViStatus niDCPower_ReadCurrentTemperature (ViSession vi, ViReal64 *temperature);

Purpose

Returns the current onboard temperature, in degrees Celsius, of the device.

Parameters

Input
Name Type Description
vi ViSession Identifies a particular instrument session. vi is obtained from the niDCPower_init or niDCPower_InitWithOptions function.
Output
Name Type Description
temperature ViReal64* Returns the onboard temperature, in degrees Celsius, of the device.

Return Value

Name Type Description
StatusViStatusReports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function.