NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerSelfCalibration.GetSelfCalibrationLastTemperature Method

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

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: Double
Returns the temperature, in degrees Celsius, of the last successful self-calibration.

Exceptions

ExceptionCondition
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.

See Also

Log in to get a better experience