You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

This function is used in Python Scripting.


Opens a docked View. Requires the preconfigured dock ID for the view.


system.perspective.openDock(id [, sessionId, pageId])

  • Parameters

String id - The unique, preconfigured 'Dock ID' for the docked View. Is specified when a View is assigned as docked for a particular Page (in Page Configuration).

String sessionId - Identifier of the Session to target. If omitted, the current Session will be used automatically. When targeting a different session, then the pageId parameter must be included in the call. [optional]

String pageId - Identifier of the Page to target. If omitted, the current Page will be used automatically. [optional]

PyDictionary params - Parameters that can be passed into the docked view. Must match the docked views View Parameters. Added in 8.0.1. [optional]

  • Returns


  • Scope

Perspective Session

Code Examples
Code Snippet - View
# Opens a docked view with a dock ID of "myDockID" on the current page and session.
system.perspective.openDock("myDockID", params = {"stationNum":2})

system perspective openDock, perspective.openDock

  • No labels