DM1 Hide issues

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

DM1 Hide issues

Post by drphil69 » Wed Mar 27, 2013 4:20 pm

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
drphil69
Posts: 139
Joined: Wed Mar 02, 2011 5:59 pm

Re: DM1 Hide issues

Post by drphil69 » Wed Mar 27, 2013 4:40 pm

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
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: DM1 Hide issues

Post by ksaenz » Thu Mar 28, 2013 9:23 am

Hello Phil,

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.
If one of the states, events, actions are missing or if the PV450 is not in the correct state for a transition the overlay layer will keep showing the DM1-Popup View until somethnig else changes it

Regards,

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

Re: DM1 Hide issues

Post by drphil69 » Thu Mar 28, 2013 10:50 am

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
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: DM1 Hide issues

Post by ksaenz » Thu Mar 28, 2013 1:09 pm

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.