Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

printing a control panel at a specific time of day automatically

I would like to be able to print out a control panel at a set time each day. I know that I can connect the print data member of the panel to another object. What should that object be?

Thanks
0 Kudos
Message 1 of 2
(3,145 Views)
Try the "Time-Of-Day" object. Its parameters are on/off, Offset time, duration time and format (all parameters are “yellow” fields except format, which means you can use other object data members). On/off lets you disable the timer, offset time is when in the day to activate the timer (i.e. 17:00:00 for 5:00 PM), duration time is how long to pulse the timer (to tickle a panel to print you would only need 00:00.1) and anything would do for format if you don't intend to display the timer (00:00:00 would be appropriate if you display the timer). Connect the Time-of-day object implicit data member to the panel object writable print data member and you are done. When the offset time is the current time the time-of-day object pulses and the panel prints. Be aware that the area of the panel that prints is based on the Height and Width parameter values, not the position on the screen (the X and Y data members override the parameters if connected). There is more info on timers and panels in the on-line help.
Message 2 of 2
(3,142 Views)