niDCPower_ReadCurrentTemperature
- Updated2023-04-15
- 1 minute(s) read
ViStatus niDCPower_ReadCurrentTemperature(ViSession vi, ViReal64 *temperature);
Purpose
Returns the current onboard temperature, in degrees Celsius, of the device.
![]() |
Note This function can only be used in a session initialized to a single instrument. |
Parameters
Input | ||
Name | Type | Description |
vi | ViSession | Identifies a particular instrument session. vi is obtained from the niDCPower_InitExtCal or niDCPower_InitializeWithIndependentChannels function. |
Output | ||
Name | Type | Description |
temperature | ViReal64* | Returns the onboard temperature, in degrees Celsius, of the device. |
Return Value
Name | Type | Description |
Status | ViStatus | Reports 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. |