...
FrameSrcPolicy
Note |
---|
Bevor das Control verwendet werden kann, muss in der web.config auf dem PI Vision Server die FrameSrcPolicy angepasst werden. Ansonsten können keine fremden Seiten eingebettet werden! |
Code Block |
---|
<add key="FrameSrcPolicy" value="seeqserver" /> |
Starten des Controls
In PI Vision oben links auf “Assets” klicken um entsprechenden Bereich aufzuklappen.
Im oberen Bereich mit einem Klick auf “weruSeeqVisualWorkbench” das Control selektieren.
Im Anschluss kann das Control mit einem beliebigen Attribut nach Navigation durch den Asset Tree per Drag&Drop dem Display hinzugefügt werden. Das Seeq Visual Workbench Control erscheint auf dem Display und kann danach konfiguriert werden.
Konfigurationsmöglichkeiten
Mit einem Rechtsklick auf das Control im oberen Bereich besteht die Möglichkeit auf “Konfigurieren” zu drücken. Dadurch erscheint die Konfigurationskachel.
...
Dort kann der Präsentationslink des gewünschten Worksheets angegeben werden.
Info |
---|
Der Seeqserver muss unter https laufen! |
Präsentationslink abrufen
...
Um den Präsentationslink abzurufen kann in Seeq Workbench der “Get link” Button oben rechts verwendet werden. Im folgenden Dialog den Button “Copy URL to clipboard” neben dem Präsentationslink klicken um den Link zu kopieren.
Adaption Settings
...
Unter Adaption Settings können Einstellungen vorgenommen werden, ob Änderungen am PI Vision Display das Seeq Worksheet beeinflussen können. Für weitere Informationen siehe “Zeitbereich-Adaption” und “Asset-swap Adaption” im Abschnitt “Funktionsweise des Controls”.
Funktionsweise des Controls
Nachdem ein gültiger Präsentationslink eingefügt wurde, wird das Worksheet in PI Vision angezeigt.
Zeitbereich-Adaption
Verändert der Benutzer den Zeitbereich in PI Vision, so ändert sich auch der Zeitbereich in der Seeq Analyse. Dies hat Einfluss auf das Worksheet direkt, das heißt für andere Seeq Nutzer wird ebenfalls der Zeitbereich verändert!
Asset-swap Adaption
Der Nutzer kann das ausgewählte Asset direkt in PI Vision ändern:
...
Ist die Option “Asset swap adaption” aktiviert, hat diese Änderung auch Auswirkung auf die hinterlegte Seeq Analyse. Alle Signale die dem “Switch From” Asset zugeordnet sind, werden durch die entsprechenden Signale des “Switch To” Assets ausgetauscht. Im Bild würden alle “Frankreich” Signale durch “Austria” Signale gewechselt werden.
Analyse in Seeq öffnen
Mit einem Klick auf den Button “Open analysis” wird die Analyse in Seeq in einem neuen Tab geöffnet.
Entfernen des Controls
Als erstes muss in den Bearbeitungsmodus gewechselt werden (Icon oben rechts).
Nach einem Klick auf das Control kann es mit der Entfernen-Taste gelöscht werden.
Standardkonfiguration
...
The Seeq Visual Workbench symbol within PI Vision provides a seamless and versatile method to embed Seeq content directly into your PI Vision displays. This integration enhances the user experience, promotes efficient data analysis, and seamlessly aligns with the PI Vision asset selections and time range.
Starting the Control
To start the control click on the “Assets” button in the upper left corner of the PI Vision display.
In the upper part select “weruSeeqVisualWorkbench” by clicking on it.
Afterwards an arbitrary attribute from the asset tree could be added to the display via drag and drop. The Seeq Visual Workbench control appears on the display and can be used.
Configuration
With a right click on the control in the upper area there is the possibility to press "Configure". Thereby the configuration tile appears.
...
In Seeq Link, you need to paste the URL to the worksheet you want to embed.
Info |
---|
The Seeq server needs to be accessed through https! |
Adaption Settings
With the Adaption Settings, settings can be made to determine whether changes to the PI Vision display can affect the Seeq Worksheet. For more information, see "Time Range Adaption" and "Asset Swap Adaption" in the section "Functionality of the Control".
Note |
---|
To use any of the adaption features, you need to give write access to the service account that has been entered by your admin! |
Functionality of the Control
After a valid presentation link is inserted, the worksheet is displayed in PI Vision.
Time range adaption
If the user changes the time range in PI Vision, the time range in the Seeq analysis will also change. This has an influence on the worksheet directly, i.e. for other Seeq users the time range is also changed!
Time Offset
When specifying an offset, the Seeq content will show the time range selected in PI Vision subtracted by the amount of seconds specified in the configuration. This will affect the start and end of the PI Vision content.
Asset swap Adaption
The user can change the selected asset directly in PI Vision
...
If the option "Asset swap adaption" is activated, this change also has an effect on the stored Seeq analysis. All signals assigned to the "Switch From" asset will be swapped by the corresponding signals of the "Switch To" asset. In the picture all "France" signals would be swapped by "Austria" signals.
Note |
---|
To use this feature, you need to create the symbol using an attribute from the same element that is used in the Seeq analysis! |
Open Analysis in Seeq
Clicking the "Open analysis" button opens the analysis in Seeq in a new tab.
Removing the Control
Before removing the control it is necessary to switch into edit mode (Icon in the upper right corner). Thereafter it is possible to click on the control and press the delete key to remove the control.
Default Configuration
The configuration file "weruPIVisionSuiteConfig.js" is located on the PI Vision Server in the folder /PIVision/Scripts/app/editor/symbols/ext/libraries und beinhaltet die Standardkonfiguration der and contains the default configuration of the PI Vision Suite.
Im Abschnitt “weruSeeqVisualWorkbench” wird der SeeqServer im Format “https://seeqserver”, der Link zur API im Format “https://seeqserver/api”, sowie folgende Werte zur Kommunikation mit der API:
authProviderId
authProviderClass
seeqUser
seeqPassword
Der Seeq Nutzer ist dabei für alle PI Vision Nutzer gleich. Daher sollte dort ein Standardnutzer eingetragen werden.For more details about the "weruSeeqVisualWorkbench" settings, please look at the installation guide!
Info |
---|
These settings can only be changed by an admin! |
FrameSrcPolicy
Note |
---|
Before the control can be used, the FrameSrcPolicy must be adjusted in the web.config on the PI Vision server. Otherwise no foreign pages can be embedded! |
Code Block |
---|
<add key="FrameSrcPolicy" value="seeqserver" /> |
Info |
---|
This setting can only be changed by an admin! |