NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerSelfCalibration.GetSelfCalibrationLastDateAndTime Method

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

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: DateTime
Returns the date and time of the last successful self-calibration.

Exceptions

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

Note Note
This method can only be used in a session initialized to a single instrument.

See Also

Log in to get a better experience