Set RTC in PV780

Discuss issues and ideas you have to configuring displays with PowerVision
ZDPIMB
Posts: 1
Joined: Wed Dec 19, 2012 7:15 am

Set RTC in PV780

Post by ZDPIMB » Tue Feb 03, 2015 7:56 am

Welcome

Please help to configure the RTC in the PV780.
I tried to use RealTimeClock.SetMinute + 1, but does not work.

Thank you for your help.

Łukasz
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: Set RTC in PV780

Post by stalley » Tue Feb 03, 2015 8:25 am

Hello ZDPIMB,

You are making a good start. It is always easier for me if I can see an example.

Look in the Murphy Standard PV780 config that is provided with PowerVision Configuration Studio.

In this config, a variable, TimeInSeconds displays the time. TimeInSeconds is based on the RealTimeClock.Hour and RealTimeClock.Minute System variables.

In the Programming tab, look under the Custom - Display Selection. Look at how the TimeInSeconds and TimeInSecondsSet get used. The event, Update Clock and Restart, will cause the RTC to be updated. It might cause a reboot also.

Letting the user set the clock is on the Menu Layer.

Hope this helps! If you have more questions, please ask.
Sara Talley
Software Engineer
Enovation Controls