"Invalid origin view in page ...", What does this mean?

Discuss issues and ideas you have to configuring displays with PowerVision
JZanni
Posts: 29
Joined: Tue Oct 12, 2010 3:09 pm

"Invalid origin view in page ...", What does this mean?

Post by JZanni » Wed Nov 03, 2010 3:55 pm

I tried to import screens from murphy base file into my project and deleted older page. I have now a lot of alarm " Invalid origin view in page view advanced event list on default Empty View"
What doess this mean How to fix this?
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: "Invalid origin view in page ...", What does this mean?

Post by jpratt » Thu Nov 04, 2010 12:54 pm

What this message is telling you is that there is an event listed in the views Advanced Settings popup that is invalid. Its likely a trigger based on the view you deleted. You should be able to delete it or point it to "Any View"
Jake Pratt
Software Development Manager
JZanni
Posts: 29
Joined: Tue Oct 12, 2010 3:09 pm

Re: "Invalid origin view in page ...", What does this mean?

Post by JZanni » Thu Nov 04, 2010 1:23 pm

What you say is what I kind of understand. I am however not able to find the offending object and or correct the problem. This was a V2.0 application converted in 2.1 and yes the message did appear after either:
1) delete some State Diagram which I felt were no longer used and the cross reference did not point to anything. More specifically it seems that those labeled "UIApp->Show View...".
2) delete or move screens from the Main Layer to the PopUp Layer.
3) Copied screens from the "Murphy Basic Configuration v2.1 into our application
I am not sure which one is causing the issue as I usually try to correct more than one issue between creation and I still have two more page to go. But the more I seem to correct other issues, the more of those messages appear. I have about 10 of them now.

When I click on the error, it always opens the PopUpLayer.Empty View. I do not find a way to see/access "Advanced Settings" nor do I understand how I can make "point to any View". Could you clarify please?

Thx
JMarc
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: "Invalid origin view in page ...", What does this mean?

Post by jpratt » Fri Nov 05, 2010 3:44 pm

After you double click the error and it takes you to the view....you can right click on the view to access the advanced dialog. There should be an event or view in the list thats not valid or blank
Jake Pratt
Software Development Manager
JZanni
Posts: 29
Joined: Tue Oct 12, 2010 3:09 pm

Re: "Invalid origin view in page ...", What does this mean?

Post by JZanni » Fri Nov 05, 2010 5:15 pm

Wooah... A all new world... I do not remember seeing this in the documentation. Could you or someone explain this page for Newbies like me.
Thank you
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: "Invalid origin view in page ...", What does this mean?

Post by jpratt » Mon Nov 08, 2010 7:51 am

The advanced page view settings allows you to attach events to the showing of views.

Specifically, you can add an even which will trigger when the page view is shown. You can also add more than one event which means you can trigger multiple processes off the single page view change. In addition you can also select an "origin view" which is effectively a filter. If you select an "origin view" the event you specify on this line will be fired ONLY if the origin view (the view that was previously showing) was active prior to this page view being selected.

In practice i have found this very useful in doing things such as animation for a view and showing and hiding objects in other layers when entering or leaving a view.
Jake Pratt
Software Development Manager