GENESIS - Using drag-and-drop in GraphWorX

GENESIS - Using drag-and-drop in GraphWorX

Info
This article explains how to add drag-and-drop functionality to GraphWorX displays. The attached file contains the sample display used here.

Some objects in GraphWorX have parameters related to drag-and-drop, with the most common use cases being adding it to a datasource or command.

Adding drag-and-drop to a datasource

By setting the DragDropDataSource parameter of a process point to True, the process point becomes available for drag-and-drop, for example onto a Trend Viewer control.


If the display contains a Trend Viewer control, dragging the process point onto it will create a new pen with the selected tag:


Adding drag-and-drop to a command

Adding drag-and-drop to a command will execute that command on the target which it was dragged onto. This can be used to quickly drag displays onto different GraphWorX Viewer controls, for example.

To do this, each GraphWorX Viewer control in the display needs to have a unique name. To enable drag-and-drop, the DragDrop parameter of the Load Display command needs to be set to True:


In the example above, drag-and-drop would work in Runtime only for the window1 viewer control. If you want drag-and-drop to work on any GraphWorX Viewer in your display, change the TargetName parameter to *:



With this setting multiple displays can be dragged onto different GraphWorX Viewer controls, for example to compare data from different assets.


    • Related Articles

    • Genesis V11 - list of built-in GraphWorX displays

      This article lists all the built-in GraphWorX displays available in the PubDisplay folder after GENESIS V11 installation. The display files are also attached as a backup for users. GENESIS V11 has multiple built-in GraphWorX displays already present ...
    • Iconics Genesis V11 - Installation guide

      This article will guide you how to prepare your operating system and database to install Iconics Genesis Version 11. If you need help with installation of an older version of Iconics, please follow this article instead: ...
    • Iconics Suite - Melsoft connection with FX5

      Detailed description how to configure connection between Iconics Suite SCADA and iQ-R PLC controller using Melsoft Connection Remember that your PC has to have the static IP address in the same subnet as PLC. FX5 PLC default address is 192.168.3.250 ...
    • Iconics Genesis V11 - MELFA connection + Asset Builder - gathering data from an iQ-R integrated robot (R16RTCPU)

      This article shows how to directly connect Genesis V11 with MELFA robots running on iQ-R integrated R16RTCPU controllers. It also describes how to automatically generate assets and displays with robot data using the Asset Builder. Robot configuration ...
    • Iconics Suite - Melsoft connection with iQ-R

      Detailed description how to configure connection between Iconics Suite SCADA and iQ-R PLC controller using Melsoft Connection Remember that your PC has to have the static IP address in the same subnet as PLC. iQ-R PLC default address is 192.168.3.39 ...