Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

PageLast

  • Last UpdatedJul 18, 2023
  • 1 minute read

Displays the graphics page that was last displayed. With this function, you can successively recall the last ten pages that were displayed.

Graphics pages displayed using this command cannot be subsequently recalled.

You cannot call this function from the Exit command field (see Edit the Properties for a Page) or a Cicode Object.

Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised.

Syntax

PageLast()

Return Value

0 (zero) if the page is successfully displayed, otherwise an error is returned.

PagePeekLast, PagePopLast, PagePushLast

Example

Buttons

Text

Last Page

Command

PageLast()

Comment

Display the graphics page that was last displayed

PageDisplay("MIMIC1");
! Displays page "MIMIC1".
PageDisplay("MIMIC2");
/* Displays page "MIMIC2" and places page "MIMIC1" onto the
page navigation history. */
PageDisplay("10");
! Displays page "10" and places page "MIMIC2" onto the page navigation history. */
PageLast();
/* Displays the last page, that is page "MIMIC2" and
removes it from the
page navigation history. */
PageLast();
/* Displays the last page, that is page "MIMIC1" and
removes it from the
page navigation history. */
PageLast();
/* Returns an "Out of range" error code as there are no more pages in the
page navigation history.*/

See Also

Page Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in