Hello,
I'm programming a PV450 using 2.6 and I am having issues with hiding the DM1 popup. I started with the standard PV450 2.3 config and imported into 2.6. I have several
DM1 errors as I have nothing connected to the XM500s. The popup shows up with the errors and the scrolling works fine. After hitting "Hide" (Key2) to hide each message, the message box goes away but "Hide" and the stop sign remain on the screen. I have tried to figure out which state it is in and added a button to attempt to get it to the "Clear Popup" state but have not been successful. I also tried going to the main menu to see if I could clear it from there to no avail.
Any help would be appreciated, I was supposed to ship today!
Thanks,
Phil
DM1 Hide issues
- drphil69
- Posts: 139
- Joined: Wed Mar 02, 2011 5:59 pm
- drphil69
- Posts: 139
- Joined: Wed Mar 02, 2011 5:59 pm
Re: DM1 Hide issues
I made a work around. I figured out it was in the Init state after hiding each DM1 message, so I made a new state that shows overlay emtpy with key4.
Is this how its supposed to work? I'm just not understanding how the overlay layer gets hidden to get out of the overlay view w/o some changes.
Phil
Is this how its supposed to work? I'm just not understanding how the overlay layer gets hidden to get out of the overlay view w/o some changes.
Phil
- ksaenz
- Enovation Controls Development
- Posts: 263
- Joined: Thu Aug 19, 2010 7:53 am
Re: DM1 Hide issues
Hello Phil,
Here's how it is supposed to work:
Regards,
ksaenz
Here's how it is supposed to work:
- Pressing "Hide" fires the event Dm1AckCurrent.
- The event Dm1AckCurrent causes a transition from WaitForButton to AckCurrent in the Dm1 state machine.
- If all the DM1s have been acknowledged the Dm1 app fires the event Dm1.AllAcknowledged.
- The event Dm1.AllAcknowledged causes a transition from AckCurrent to ClearPopUp in the Dm1 state machine.
- Entering the state ClearPopUp fires the event Dm1CheckActive.
- The event Dm1CheckActive causes a transition from InitialState to Check for Active Dm1s in the Dm1ActiveCheck state machine.
- Entering the state Check for Active Dm1s fires the event TestDm1CheckNotActive.
- The event TestDm1CheckNotActive is a condition that checks if the variable Dm1.TotalFaultsInList is equal or less than 0.
- If the condition is true it fires the event Dm1sAreNotActive.
- The event Dm1sAreNotActive causes a transition from Check for Active Dm1s to Not Active in the Dm1ActiveCheck state machine.
- Entering the state Not Active executes the action UIApp->Show View(Overlay Layer.Default Empty View)
- The Overlay layer show the view Default Empty View where the Hide button is not present.
Regards,
ksaenz
- drphil69
- Posts: 139
- Joined: Wed Mar 02, 2011 5:59 pm
Re: DM1 Hide issues
Hi ksaenz,
Thank for the description. I am still a little confused.
So, after I "hide" all the DM1s, the button changes from "hide" to "recall." What is supposed to clear the overlay so that "recall" goes away? Is it only supposed to disappear if there are no active DM1s?
Phil
Thank for the description. I am still a little confused.
So, after I "hide" all the DM1s, the button changes from "hide" to "recall." What is supposed to clear the overlay so that "recall" goes away? Is it only supposed to disappear if there are no active DM1s?
Phil
- ksaenz
- Enovation Controls Development
- Posts: 263
- Joined: Thu Aug 19, 2010 7:53 am
Re: DM1 Hide issues
Correct, If there are still active DM1s after you hid them the Dm1ActiveCheck state machine shows the recall view; if none of the Dm1s are active it shows the empty view.