DCPowerSelfCalibration.GetSelfCalibrationLastTemperature Method
- Updated2024-01-04
- 1 minute(s) read

DCPowerSelfCalibrationGetSelfCalibrationLastTemperature Method
Returns the onboard temperature of the instrument, in degrees Celsius, during the oldest successful self-calibration from among the channels in the session.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public double GetSelfCalibrationLastTemperature()
Public Function GetSelfCalibrationLastTemperature As Double
Return Value
Type: DoubleReturns the temperature, in degrees Celsius, of the last successful self-calibration.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The GetSelfCalibrationLastTemperature method was accessed after the associated NIDCPower object was disposed. |
Remarks
For example, if you have a session using channels 1 and 2, and you perform a self-calibration on channel 1 with an instrument temperature of 25 degrees Celsius at 2:00, and a self-calibration was performed on channel 2 at 27 degrees Celsius at 3:00 on the same day, this method returns 25 for the temperature.