Popup Start Timer

Discuss issues and ideas you have to configuring displays with PowerVision
tshiii
Posts: 79
Joined: Thu Sep 09, 2010 8:56 pm

Popup Start Timer

Post by tshiii » Wed Sep 16, 2015 4:47 am

Regarding PV450 standard configuration on PowerVision 2.7, "Popup Button Control" seems to be triggered by "Popup Start Timer". Please advise how the "Popup Start Timer" can be set and how the "Popup Button Control" is triggered.

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

Re: Popup Start Timer

Post by stalley » Wed Sep 16, 2015 8:55 am

Hello tshii,

The PopUpStartTimer event, is a transition in the PopUpButtonControl state machine. The Wait state fires the Start Timer with the PopUp Timer which is on the PopUpTimeout event. You can adjust the Duration on the timer.

On the Page Designer, Menu Layer, PopUpFullView, lower left, right click on the tab where the view name is shown. Be careful to avoid the delete (-) button. This will give you a list of items, select the last item, Advanced. These are events triggered everytime the view is displayed, in this case, the PopupFull View. You should see the Calculate VideoSize Popup ON and the PopUpStartTimer events.

Please let me know if you have questions.
Sara Talley
Software Engineer
Enovation Controls
tshiii
Posts: 79
Joined: Thu Sep 09, 2010 8:56 pm

Re: Popup Start Timer

Post by tshiii » Fri Sep 18, 2015 3:09 am

Hello,

Thank you for the information.

Thank you,
tshiii
Posts: 79
Joined: Thu Sep 09, 2010 8:56 pm

Re: Popup Start Timer

Post by tshiii » Tue Sep 29, 2015 3:02 am

Hello,

Please also advise how the PopUpFullView is run when PV450 is powered on.

I appreciate if you show some sample screens.

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

Re: Popup Start Timer

Post by stalley » Sun Oct 04, 2015 5:30 pm

Hello TShii,

I apologize because my reply has taken so long. It has been a busy week. Do have a specifc question about the PopupFull View Page? Do you have questions about the key behavior or the graphics in the containers? Is your question about the PopUpButtonControl state machine?

Most of the behavior of the PopupFull View is specified in the Page Designer.

The graphic widgets are found in container widgets in the Menu Layer in the PopupFull page.

On the Main Layer, if you click on the small square inside the Key 8 square, Powervision configuration Studio will go to the PopupFull page. This is same as what happens when the user presses Key 8. All of the pages on the Main Layer have Key 8 defined the same way.
Main Layer.png
Main Layer
Main Layer.png (160.71 KiB) Viewed 92 times
When the PopupFull view is displayed on the PV450, as described previously, the two events specified in the Advanced Properties, Calculate Videosize Popup ON and PopUpStartTimer are fired. The PopUpStartTimer event is found in the PupUpButtonControl state machine. It is the transition to the Wait state where the PopUp Timer is restarted everytime a key is pressed. If the timer expires because the user did not press a button, timer expires and the PopUpTimeout event is fired causing the transition to the Clear the PopUp state.

The other way to transition to the Clear the PopUp state is when the user presses key 7 or key 8 causing the PopUpClear event to be fired.
PopupFull.png
PopupFull View
PopupFull.png (17.57 KiB) Viewed 92 times
In the Clear the PopUp state, the HidePopUp event is fired. The HidePopUp has three actions. If you select the Screen->AnimatePosition(Popup_Left, ...) action, you will see that the Complete Event is the PopUpGoToInit which is the event that transitions from the Clear the PopUp state to the Init State.
PopUpButtonControl.png
PopUpButtonControl
PopUpButtonControl.png (26.2 KiB) Viewed 92 times
On the PopupFull View, key 3 also has an event, Update EngineHoursVisible Condition. If you search for this event in Programming, you find it on the Update EngineHoursVisible event. This will toggle between showing the time as a 12 hour or 24 hour clock.

Maybe this will help. If you have a specific question, I will be glad to help.
Sara Talley
Software Engineer
Enovation Controls