How to retrieve RTC information from displays

Discuss issues and ideas you have to configuring displays with PowerVision
rtackett
Posts: 15
Joined: Tue May 03, 2011 9:58 am

How to retrieve RTC information from displays

Post by rtackett » Mon Dec 05, 2011 8:20 am

I need to be able to get information from the displays RTC (Real Time Clock). I need this information for both the PV450 and PV750 screens. Can you provide a piece of code to accomplish this functionality?

Thanks,
Russell Tackett
dberezowski
Posts: 65
Joined: Wed Sep 08, 2010 4:03 pm

Re: How to retrieve RTC information from displays

Post by dberezowski » Mon Dec 05, 2011 11:28 am

I believe what you are looking for is the following database variables:
UserDefinedVariable.RealTimeClock.Day
UserDefinedVariable.RealTimeClock.DayOfWeek
UserDefinedVariable.RealTimeClock.Hour
UserDefinedVariable.RealTimeClock.IsAvailable
UserDefinedVariable.RealTimeClock.Minute
UserDefinedVariable.RealTimeClock.Month
UserDefinedVariable.RealTimeClock.Second
UserDefinedVariable.RealTimeClock.Year
bmcrae
Enovation Controls Development
Enovation Controls Development
Posts: 75
Joined: Thu Sep 09, 2010 11:20 am

Re: How to retrieve RTC information from displays

Post by bmcrae » Mon Dec 05, 2011 3:46 pm

The 2.3 documentation (see the forum posts about documentation) also outlines the real time clock.