Page view indicator?

Discuss issues and ideas you have to configuring displays with PowerVision
drphil69
Posts: 139
Joined: Wed Mar 02, 2011 5:59 pm

Page view indicator?

Post by drphil69 » Wed Oct 24, 2012 12:25 pm

Hello,

Is there any way to know what page is currently being viewed on the PV750? I have a program where I used button pushes to navigate pages directly (i.e., using button push to "go to view"). Is there any way to know what page is currently being viewed? I need to jump to a reverse camera view when shifter goes into reverse, but only if the customer is on certain pages, as other pages are used for troubleshooting. Is there a variable that tracks this, or are there boolean variables for each page? If so, how do I find them?

Basically, I need to do this: IF (page view = x) OR (page view = y) AND (transvar = -1) THEN (go to view Z).

Thanks,
Phil
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Page view indicator?

Post by ksaenz » Mon Oct 29, 2012 8:13 am

Hello drphil69,

There is not a system variable that tells you the current view visible but you can create your own variable and change the value when you show a view.

Regards,

ksaenz
drphil69
Posts: 139
Joined: Wed Mar 02, 2011 5:59 pm

Re: Page view indicator?

Post by drphil69 » Tue Oct 30, 2012 4:42 pm

Hi ksaenz,

Does that mean for every page change I will need to use a state machine instead of just using the 'Go To View' function?
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Page view indicator?

Post by ksaenz » Wed Oct 31, 2012 7:56 am

You can still use Go To View to move between views. To fire the calculation event that changes the value of the variable when you enter a new view you can right click on the frame of a view, select Advanced, and add the calculation event that changes the value of the variable.

Regards,

ksaenz
Attachments
Advanced.png
Advanced.png (25.27 KiB) Viewed 102 times
drphil69
Posts: 139
Joined: Wed Mar 02, 2011 5:59 pm

Re: Page view indicator?

Post by drphil69 » Thu Nov 01, 2012 1:59 pm

Thanks!!