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

DCPowerSelfCalibrationGetSelfCalibrationLastDateAndTime Method
Returns the date and time of 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 DateTime GetSelfCalibrationLastDateAndTime()
Public Function GetSelfCalibrationLastDateAndTime As DateTime
Return Value
Type: DateTimeReturns the date and time of the last successful self-calibration.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The GetSelfCalibrationLastDateAndTime method was accessed after the associated NIDCPower object was disposed. |
Remarks
The time returned is 24-hour (military) local time; for example, if you have a session using channels 1 and 2, and a self-calibration was performed on channel 1 at 2:30 PM, and a self-calibration was performed on channel 2 at 3:00 PM on the same day, this method returns 14 for hours and 30 for minutes.
![]() |
---|
This method can only be used in a session initialized to a single instrument. |