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

AVEVA™ Plant SCADA

Workspace_SelectEquipment

  • Last UpdatedJul 18, 2023
  • 1 minute read

Changes the context of the workspace to the piece of equipment selected on the current page. This will trigger the automatic filling of content in your workspace panes according to the [Workspace]contextmode that has been configured. See also Workspace_SetSelContext.

Any panes in your workspace (or linked workspaces) that have been configured as PANE_FILLMODE_Autofill, PANE_FILLMODE_AutofillContextMustMatch or PANE_FILLMODE_StaticContextMustMatch will be updated with the new context and this is available in your page via two super genie associations __EquipmentName and __EquipmentRef. By default, the page from which this function is called will not be updated. If you need the page to be updated, set the bIncludeCurrentPane parameter to TRUE when calling this function.

Syntax

Workspace_SelectEquipment([INT bIncludeCurrentPane])

bIncludeCurrentPane

Allow the current page to be automatically filled and context updated. This may result in the page that you clicked on changing. Default = FALSE. This is an optional parameter.

Return alue

N/A

Example

Workspace_SetSelContext("Cluster1.MyPlant.Mixing.TNK01");

Workspace_SelectEquipment();

Workspace_GetContext, Workspace_GetEquipmentCluster, Workspace_GetPageNameWithRes, Workspace_GetResolution, Workspace_GetSelContext, Workspace_GetWindow, Workspace_GetWorkspaceFromName, Workspace_GetWorkspaceFromWindow, Workspace_Init, Workspace_IsSelContext, Workspace_IsSystem_Initialised, Workspace_SetSelContext, Workspace_ShowContent

See Also

Public Functions

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