How to create custom pop ups?

Discuss issues and ideas you have to configuring displays with PowerVision
muhit
Posts: 14
Joined: Fri Nov 22, 2013 7:09 am

How to create custom pop ups?

Post by muhit » Tue Apr 29, 2014 6:59 am

Hi,

We're working on a project which requires custom pop-up messages depending on received custom MilCan messages.

For example; we have defined a message with ID: 0CA0B001 and it's one of data bytes contains the two bit information of; 00:N/A1, 01:Yes, 10:No and 11: N/A2. When PV-750 receives that message with that field 01:Yes; a pop-up screen should appear with a Hide button.

We've completely defined the custom MilCan messages and bind some gauge and text values to their data. How could we create custom pop-up messages and trigger them with received custom MilCan messages? (Also we need to hide in case of pushing a "Hide" button.)

Thanks for your help.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: How to create custom pop ups?

Post by jpratt » Tue Apr 29, 2014 7:23 am

Take a look at some of the example configurations as there are many cases where a popup is used.

The simplest way is to simply create a Page View with the popup graphics and object and then switch to that view. This view can then remap any keys you need to acknowledge the message.

If you haven't, please make sure to read the Page Designer Manual as it gives a lot of information about how to correctly use the Page Designer.
Jake Pratt
Software Development Manager
muhit
Posts: 14
Joined: Fri Nov 22, 2013 7:09 am

Re: How to create custom pop ups?

Post by muhit » Tue Apr 29, 2014 7:46 am

jpratt wrote:Take a look at some of the example configurations as there are many cases where a popup is used.

The simplest way is to simply create a Page View with the popup graphics and object and then switch to that view. This view can then remap any keys you need to acknowledge the message.

If you haven't, please make sure to read the Page Designer Manual as it gives a lot of information about how to correctly use the Page Designer.
Hi again,
I could make it that way but I need to see the information on main page view while the pop up appeared in a part of the screen. Is it possible?
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: How to create custom pop ups?

Post by jpratt » Tue Apr 29, 2014 7:54 am

Of course. Read the Page Designer Manual about layers. You can create Page Views in an upper layer to show and hide views on top of existing page designs. This transition will have no impact on lower layers current view.

Murphy Standard Configurations use this feature to display DM1's
Jake Pratt
Software Development Manager
muhit
Posts: 14
Joined: Fri Nov 22, 2013 7:09 am

Re: How to create custom pop ups?

Post by muhit » Tue Apr 29, 2014 8:29 am

Thanks Mr.Pratt,

Started to working on it, the only thing we didn't mention is how to trigger this new page view with a received message's data? We couldn't find a Condition Variable property of page views? Should we use Scripting or State Machines?
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: How to create custom pop ups?

Post by jpratt » Tue Apr 29, 2014 9:09 am

Definitely take a look at some examples and Read that Page Designer and Programming Manual. It explains all of this. You can change page views with either a Button or by sending an action from State Machines, Events, Activity programs,etc.
Jake Pratt
Software Development Manager