GetSelfCalibrationLastDateAndTime()
- Updated2025-10-06
- 1 minute(s) read
Returns the date and time of the oldest successful self-calibration from among the channels in the session.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public DateTime GetSelfCalibrationLastDateAndTime()
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.
Returns
Returns the date and time of the last successful self-calibration.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The GetSelfCalibrationLastDateAndTime method was accessed after the associated NIDCPower object was disposed. |