Skip to content
Menu
Menu

Knowledge Base

KB050002 | SETTING THE PC CLOCK VIA THE KNX/EIB

KB050002 | SETTING THE PC CLOCK VIA THE KNX/EIB

Product: Elvis
Version: all
Booth: 2006-03-27

Summary

The time of the visualization PC is to be synchronized via time information received from the EIB (EIS 3 and EIS 4).

Details

For the temporal synchronization of the visualization PC with the time and date information from the EIB (EIS 3 and EIS 4), the Windows functions (Kernal32) SetSystemTime and VariantTimeToSystemTime are declared in the Elvis Global Script. These functions can then be used to set the PC time in the calculation of the nominal value of the data point zeit_jetzt_setzen. The data point datum_zeit is only an intermediate variable.

Note from Günther Daverda:
I used the code in my last project, but I realized that you have to pay attention to something crucial.
Under the properties of date and time you have to DISABLE “Automatically change clock to summer/winter time”, otherwise the time is correct during winter time but in summer time the PC clock is advanced by two hours instead of one hour. As I see it, the PC adds an hour to the current time signal of the DCF signal.

Download sample project (db and iep):
settime.db
settime.iep

Support Area

KB050002 | SETTING THE PC CLOCK VIA THE KNX/EIB

Knowledge Base

Here you will find answers, solutions to problems and examples of our products.
KB050002 | SETTING THE PC CLOCK VIA THE KNX/EIB

Case Studies

Successful in use: practical examples of our products and individual developments.
KB050002 | SETTING THE PC CLOCK VIA THE KNX/EIB

Support

Describe your concern using our support form.
KB050002 | SETTING THE PC CLOCK VIA THE KNX/EIB

License registration

Register your Elvis license!

IT GmbH · An der Kaufleite 12 · D-90562 Kalchreuth

© Copyright 2024. IT GmbH | Webdesign by Appear Online