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

AVEVA™ Plant SCADA

PageLogDevice

  • Last UpdatedJul 13, 2023
  • 1 minute read

Retrieves or sets the LogDevice property setting for the current graphics page.

Syntax

PageLogDevice(LogDevice)

LogDevice:

The name of the log device as a string.

Return Value

The LogDevice setting for the active graphics page (as a string), or 0 (zero) if successfully used to set the LogDevice. In both cases, an error is returned if unsuccessful.

Note: For details on handling return and error values, see Error Handling.

PageName, PageTitle, PageDescription, PagePrevious, PageNext, PageScanTime

Example

' Sets the LogDevice for the current graphics page

GraphicsBuilder.PageLogDevice = "MyDevice"

' Retrieves the name of the LogDevice for the current page

MyVariable = GraphicsBuilder.PageLogDevice

Note: This function is implemented in the C++ environment as two separate functions: put_PageLogDevice applies a LogDevice setting for active graphics page, and get_PageLogDevice retrieves the current LogDevice setting.

See Also

Page Properties - General

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