SetTime¶
-
virtual void ITopController::SetTime(const std::chrono::system_clock::time_point &time) = 0¶
Sets the system time of the controller.
- Parameters
time – System time of the controller.
- Throws
CInvalidArgumentException– Invalid specified time.CUnsupportedException– Controller does not support system time.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException– Incompatible firmware version loaded.CObjectDestroyedException– Object is destroyed.
- Remarks
This also synchronizes all clocks in the system. The call blocks until all clocks are synchronized.