ICoverCalibratorV1CalibratorOn Method |
Namespace: ASCOM.DeviceInterface
Exception | Condition |
---|---|
InvalidValueException | When the supplied brightness parameter is outside the range 0 to MaxBrightness. |
MethodNotImplementedException | When CalibratorState returns NotPresent. |
NotConnectedException | If the device is not connected. |
DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. |
This is a mandatory method for a calibrator device that must be implemented.
If the calibrator takes some time to stabilise, the CalibratorState must return NotReady. When the calibrator is ready for use CalibratorState must return Ready.
For devices with both cover and calibrator capabilities, this method may change the CoverState, if required.
If an error condition arises while turning on the calibrator, CalibratorState must be set to Error rather than Unknown.