Good Morning
I have a problem.
I have selected the page to be displayed as first after display restart.
From time to time i can see the screen starts with another page.
This happens randomly.
what may be the cause ?
Janar
First Page
- janar
- Posts: 3
- Joined: Wed Feb 08, 2012 2:06 am
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: First Page
Hello janar,
It really depends on how your configuration controls navigation between the pages, views and layers.
In Page Designer, find the page that starts randomly. Just above the outline of the display, you will see the binoculars, use that to search to find where it is referenced. This could lead you to see why it becomes the start page.
Search for the Screen.ScreenReady event, see if is used to control pages or page behavior.
In older configurations there was a script with an array of all of the possible pages. The script would save the "Current view". In the settings the user could select which pages would be shown.
With newer configurations there are other ways to navigate and control the pages.
It really depends on how your configuration controls navigation between the pages, views and layers.
In Page Designer, find the page that starts randomly. Just above the outline of the display, you will see the binoculars, use that to search to find where it is referenced. This could lead you to see why it becomes the start page.
Search for the Screen.ScreenReady event, see if is used to control pages or page behavior.
In older configurations there was a script with an array of all of the possible pages. The script would save the "Current view". In the settings the user could select which pages would be shown.
With newer configurations there are other ways to navigate and control the pages.
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls
- janar
- Posts: 3
- Joined: Wed Feb 08, 2012 2:06 am
Re: First Page
Thank you for your answer
I set the page as the first on the list and problem has disappeared.
I have another question.
Is it possible to get the state of two keys in the same time?
When the first key is pressed variable KeyManager.KeyState is equal 1 ,but pressing the next button does not change this variable.
How Can I get the condition : key1==true and key2==true? Is it possible?
I set the page as the first on the list and problem has disappeared.
I have another question.
Is it possible to get the state of two keys in the same time?
When the first key is pressed variable KeyManager.KeyState is equal 1 ,but pressing the next button does not change this variable.
How Can I get the condition : key1==true and key2==true? Is it possible?
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: First Page
Hello janar,
The monochrome displays have the multi-key feature but the color displays don't. With the monochrome display configs, we've used a state machine with multi-key press and hold with some timers to do some additional contol in the MPC10 standard config.
I tried to use events on the Key Down of two buttons on a PV780. If I press on both buttons, only one event is fired. This is similar to your finding about the KeyState.
You could try to do something similar to the page views and button sequence to get to the Hidden menu on the Menu layer in the Murphy Standard Configurations for the PV450 and PV780 that come in PowerVision Configuration Studio.
Let me know what you come up with, others might want to do something similar. It could be possible a state machine and a sequence of button down events would work. I think some have used an event on the Key Up to make a sequence.
The monochrome displays have the multi-key feature but the color displays don't. With the monochrome display configs, we've used a state machine with multi-key press and hold with some timers to do some additional contol in the MPC10 standard config.
I tried to use events on the Key Down of two buttons on a PV780. If I press on both buttons, only one event is fired. This is similar to your finding about the KeyState.
You could try to do something similar to the page views and button sequence to get to the Hidden menu on the Menu layer in the Murphy Standard Configurations for the PV450 and PV780 that come in PowerVision Configuration Studio.
Let me know what you come up with, others might want to do something similar. It could be possible a state machine and a sequence of button down events would work. I think some have used an event on the Key Up to make a sequence.
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls