Visu_Selection_Constants (GVL) ¶ Constant values that can be used with ISelectionManager interface. InOut: Scope Name Type Initial Comment Constant VISU_SELECTION_TAB DWORD 16#1 Select element with Tab VISU_SELECTION_SHIFTTAB DWORD 16#2 Select element with Shift+Tab VISU_SELECTION_FIRST DWORD 16#3 Select element with Pos1 VISU_SELECTION_LAST DWORD 16#4 Select element with End VISU_SELECTION_LEFT DWORD 16#5 Select element with arrow left VISU_SELECTION_UP DWORD 16#6 Select element with arrow up VISU_SELECTION_RIGHT DWORD 16#7 Select element with arrow right VISU_SELECTION_DOWN DWORD 16#8 Select element with arrow down VISU_SELECTION_AT DWORD 16#9 Select element with specific position VISU_SELECTION_ELEMENT DWORD 16#10 Select element with specific element VISU_SELECTION_GROUP_SINGLE DWORD 1 Select single element VISU_SELECTION_GROUP_BLOCK DWORD 2 Select group of elements VISU_SELECTION_VISU_DIALOG_BLOCK DWORD 3 Select whole dialog VISU_SELECTION_OK DWORD 0 Element was successfully selected VISU_SELECTION_NONE DWORD 1 Element was not selected VISU_SELECTION_ERR_WRONG_ELEMENT_POSITION DWORD 2 No selection because of wrong position VISU_SELECTION_ERR_ELEMENT_NOT_SELECTABLE DWORD 3 No selection because element is not selectable VISU_SELECTION_KEY_HANDLED DWORD 4 Selection was handled VISU_SELECTION_KEEP_IN_ELEMENT DWORD 5 Selection stays in the element VISU_SELECTION_DISABLED DWORD 6 Selection has been disabled VISU_SELECTION_ENABLED_NONE DWORD 0 Disable selection VISU_SELECTION_ENABLED_MOUSE_INPUT DWORD 1 Enable selection for mouse input VISU_SELECTION_ENABLED_KEY_INPUT DWORD 2 Enable selection for keyboard input VISU_SELECTION_ENABLED_ALL DWORD 3 Enable selection for all VISU_SELECTION_INVALID INT -1 Selection is invalid MAX_POSITION_DEPTH INT 19 Maximum depth of selection in nested elements
Interfaces ¶ IApplicationRectangleProvider (Interface) ProvideRectangles (Method) ICallOnDialogBlocks (Interface) Execute (Method) ICallOnVisuBlocks (Interface) Execute (Method) IClippingLayer (Interface) ClippingActive (Property) ClippingRect (Property) ICustomEventHandler (Interface) HandleCustomEvent (Method) IDialogCloseListener (Interface) DialogClosed (Method) IDialogCloseListenerWithTag (Interface) DialogClosedWithTag (Method) IDialogManager10 (Interface) ClosePAADialog2 (Method) CollectNonModalDialogRectangles (Method) IDialogManager2 (Interface) CheckEventQueue (Method) CloseDialog2 (Method) IDialogManager3 (Interface) CollectRectangles (Method) HasOpenModalDialog (Method) IDialogManager4 (Interface) CallOnAllDialogs (Method) GetRegisteredDialogsBlockwise (Method) IDialogManager5 (Interface) GetDialogToClose (Method) GetDialogToOpen (Method) IsDialogOpen (Method) IDialogManager6 (Interface) SetTopMostDialogRect (Method) IDialogManager7 (Interface) CalculateDialogPositionForPAA (Method) ClosePAADialog (Method) SetPAADialogOpenObject (Method) getPaintAfterAllOpen (Method) getVersion (Method) IDialogManager8 (Interface) HandleInputBefore (Method) IDialogManager9 (Interface) SetClientDataWithoutStartCycle (Method) IDrawingInterface3 (Interface) UntransformHeight (Method) UntransformWidth (Method) IElementNameProvider (Interface) GetElementName (Method) IFrameManager (Interface) GetFrameCount (Method) GetRegisteredFrames (Method) GetSelectedVisu (Method) GetVisuCount (Method) GetVisuName (Method) RegisterFrame (Method) SwitchToVisuGlobally (Method) UnregisterFrame (Method) IFrameManager2 (Interface) GetFrameByIndex (Method) GetSelectedVisuByIndex (Method) SwitchToVisu2 (Method) SwitchToVisuByIndex (Method) IFrameManagerBase (Interface) SwitchToVisu (Method) IGestureEventHandler (Interface) HandleFlickGesture (Method) HandlePanGesture (Method) HandleSpreadPinchGesture (Method) IGestureEventHandler2 (Interface) HandleTouchEvent (Method) IGestureEventHandler3 (Interface) HandleTouchEvent2 (Method) IGridProvider (Interface) GetColumnWidth (Method) GetRowHeight (Method) NumberOfColumns (Property) NumberOfRows (Property) IInputOnElementEventHandler (Interface) HandleInputOnElementEvent (Method) IKeyEventHandler (Interface) HandleKeyEvent (Method) ILayerManager (Interface) EndLayer (Method) SetAdditionalLayers (Method) StartLayer (Method) ILayeredVisualElement (Interface) SetLayerManager (Method) IMouseEventHandler (Interface) HandleMouseBtnEvent (Method) HandleMouseMoveEvent (Method) IPAADialog (Interface) ClosePAADialog (Method) CollectRectangles (Method) HandlePAASelection (Method) SetTransformPAA (Method) IPAADialog2 (Interface) ClosePAADialog2 (Method) IPaintAfterAll (Interface) PAAClose (Method) PAAgetSize (Method) PAAgetSurroundingRect (Method) PAAgetUpdateRects (Method) PAAhandleInputBefore (Method) PAApaintAfterAll (Method) IPaintAfterAll2 (Interface) PAAGetTouchContentSurroundingRect (Method) PAAInitialize (Method) IPaintAfterAllOwningElement (Interface) OwningElement (Property) IPaintAfterAllRectangleProvider (Interface) PAAAddRectangles (Method) IPaintAfterAllSelection (Interface) HandlePAASelection (Method) IProvidesContainerSize (Interface) SetContainerSize (Method) IProvidesElementName (Interface) GetElementName (Method) IProvidesTabOrder (Interface) GetTabOrderIdArray (Method) IRectangleListManager (Interface) AddRectangle (Method) AddZoomScrollLimits (Method) ForwardCall (Method) ForwardCallWithMouseDownInfo (Method) PopClipping (Method) PushClipping (Method) SetUpdateNecessary (Method) IRectangleListManager2 (Interface) AddContentRect (Method) AddRectangleTransformed (Method) AddTouchRectRenderLocationInfo (Method) PushClippingTransformed (Method) IRectangleListManager3 (Interface) AddContentRectTransformed (Method) IRectangleListManager4 (Interface) AddLargeScrollLimits (Method) IRectangleProvider (Interface) AddRectangles (Method) IRequiresInitMeasureString (Interface) ISelectionManager (Interface) DoSelectedAction (Method) EnabledSelectionType (Property) FrameOffset (Property) ResetSelection (Method) SelectElement (Method) SelectElementAt (Method) SelectNextElement (Method) SelectionColors (Property) SelectionLook (Property) ISelectionManager2 (Interface) AddListener (Method) RemoveListener (Method) ISelectionManagerListener (Interface) SelectionChanged (Method) ISpecialEventHandler (Interface) HandleSpecialEvent (Method) ISupportsRealDrawing (Interface) Center (Property) MoveAbsolute (Property) RealDrawing (Property) IUserMgmtEventHandler (Interface) HandleLogin (Method) HandleLoginFailed (Method) HandleLogout (Method) HandlePasswordChange (Method) IValueChangedListener (Interface) ValueChanged (Method) IVisuManager (Interface) GetCurrentVisu (Method) GetDialogManager (Method) GetFrameManager (Method) GetRegisteredVisus (Method) GetVisuCount (Method) SetMainVisuGlobally (Method) SetStartVisu (Method) IVisuManager2 (Interface) CallOnAllVisus (Method) GetRegisteredVisusBlockwise (Method) IVisuManager3 (Interface) GetNextShownVisu (Method) GetPreviousShownVisu (Method) IVisuManagerBase (Interface) GetDialogManagerBase (Method) GetFrameManagerBase (Method) GetInternCommandManagerBase (Method) LastMainVisu (Method) NextMainVisu (Method) RegisterVisu (Method) SetMainVisu (Method) UnregisterVisu (Method) IVisuStreamFileNameInfo (Interface) FileNameProposal (Property) IVisuStreamHandler (Interface) EndOperation (Method) StartOperation (Method) IVisuStreamReader (Interface) Read (Method) IVisuStreamSetFileName (Interface) FileName (Property) IVisuStreamWriter (Interface) Write (Method) IVisuUserEventManager (Interface) SetCustomEventHandler (Method) SetEditBoxEventHandler (Method) SetGestureEventHandler (Method) SetInputOnElementEventHandler (Method) SetKeyEventHandler (Method) SetMouseEventHandler (Method) SetSpecialEventHandler (Method) SetUserMgmtEventHandler (Method) IVisualElementLayer (Interface) Initialized (Property) Paint (Method) IVisualElementOfflineScaling (Interface) SetOfflineScalingFactors (Method) IVisualElementProvidesChildElements (Interface) GetElementIdArray (Method) IVisualElementProvidesSubElements (Interface) GetSubElements (Method) IVisualisationAccessRights (Interface) HasInputAccess (Method) HasVisibilityAccess (Method) IVisualizationStyle (Interface) GetColor (Method) GetDINT (Method) GetFont (Method) GetFontWithColor (Method) GetString (Method) GetUDINT (Method)
IApplicationRectangleProvider (ITF) ¶ INTERFACE IApplicationRectangleProvider This interface can be implemented by a functionblock of the application that wants to affect the evaluation of gestures by the visualization. Methods: ProvideRectangles Structure: ProvideRectangles (Method)
Visu_DateTime (GVL) ¶ Attributes: qualified_only InOut: Name Type Comment DisplayUTC BOOL Displays all system time values in UTC if the value is set to TRUE
Visu_Globals (GVL) ¶ InOut: Name Type Initial Comment g_pVisuTextBuffer POINTER TO ARRAY [0..Visu_Constants.VISU_TEXTBUFFER_SIZE] OF WORD Is used when size is configured g_iConfiguredTextBufferSize INT -1 g_VisuManager IVisuManager2 g_VisuManager_Inst could be used by endusers too -> visible g_SelectionManager ISelectionManager2 g_SelectionManager_Inst Current selection manager instance. For more information see ISelectionManager g_VisualizationStyle IVisualizationStyle Private_Visu_Globals.g_VisualizationStyle_Dummy_Inst initialized with a private dummy instance to prevent having NULL values; qualified due to a current limitaion of the ieccodeconverter g_VisuRectangleProvider IApplicationRectangleProvider 0 If an instance is assigned to this variable, then this instance will be called whenever a new list of touch rectangles is built. CURRENTVISU STRING ‘’ will be used only if the settings activate them @IECCodeConverter_Type: String CURRENTLANGUAGE STRING ‘’ is always active CurrentUserGroupId DWORD Visu user mgmt variables - only necessary for target clients CHECKED_OMIT CurrentUserGroupName WSTRING(511) CHECKED_OMIT CurrentUserName WSTRING “None” CHECKED_OMIT CurrentFullUserName WSTRING “None” CHECKED_OMIT CurrentUseAutoLogoutTime BOOL CHECKED_OMIT CurrentRemainingAutoLogoutTime TIME Only valid if CurrentUseAutoLogoutTime is TRUE. CurrentClientType Visu_ClientType CHECKED_OMIT VISU_CYCLE_TIME_ON_OPEN_DIALOGS UDINT 1000 Settings for performance optimizatin on open dialogs OPEN_DIALOGS_DISABLE_CHANGING_INVALIDATION_RECT BOOL FALSE g_VisuKineticScrollingSizeFactor REAL 1.0 g_VisuKineticScrollingDamping REAL 0.1 g_VisuTouchScrollingOutsideElem BOOL FALSE g_VisuLineJoinMiterLimit REAL 1.5 g_MaxTwoDigitYear UINT 2099 g_DateTimeValuesInIECSyntax BOOL FALSE g_VisuRedundSyncFrameIndex BOOL FALSE Set the behavior of how to syncronize the frames indexes in during visu redundancy g_VisuRedundValueChanged VisuEnumRedundancyValueChanged VisuEnumRedundancyValueChanged.OnlySyncArea Set the action to do when in visu redundancy we change a visu variable on the active device. SECURE_TAPPING_TIMEOUT DWORD 2000 Timeout in ms for secure tapping. If there is no connection for this period of time, all current Tap actions are automatically terminated. g_xForceDlgPosAsDesigned BOOL How to handle the position of dialog box when no valid previous position has been found g_xUseGlobalDlgPos BOOL TRUE Allow to use the global dialog position when a new client is opened g_VisuTrendWithTimeSelectorUpdateBehaviour UINT 100 For a trend with time selector: The update rate can be dependent on the value of the time selector Value 0: Update rate not dependent on time selector value. Feature is not used. Values > 0: Update rate dependent on time selector value. Update rate of trend will be: time selector value / g_VisuTrendWithTimeSelectorUpdateBehaviour (Hint: A update, faster than the visu task is not possible. Also a update rate less than ms is not possible)
IDialogCloseListenerWithTag (ITF) ¶ INTERFACE IDialogCloseListenerWithTag EXTENDS IDialogCloseListener Extends the interface IDialogCloseListener Used in combination with OpenDialog6 when on closed an additional tag/data is needed Methods: DialogClosedWithTag DialogClosed , inherited from IDialogCloseListener Structure: DialogClosedWithTag (Method)
IDialogCloseListenerWithTag.DialogClosedWithTag (METH) ¶ METHOD DialogClosedWithTag InOut: Scope Name Type Comment Input itfDialog IVisualisationDialog The IVisualisationDialog instance, that was closed pClientData POINTER TO VisuStructClientData A pointer to the client data pTag POINTER TO BYTE A pointer to an optional tag/data
IDialogManager10 (ITF) ¶ INTERFACE IDialogManager10 EXTENDS IDialogManager9 Methods: ClosePAADialog2 CollectNonModalDialogRectangles CalculateDialogPositionForPAA , inherited from IDialogManager7 CallOnAllDialogs , inherited from IDialogManager4 CheckEventQueue , inherited from IDialogManager2 CloseDialog2 , inherited from IDialogManager2 ClosePAADialog , inherited from IDialogManager7 CollectRectangles , inherited from IDialogManager3 GetDialogToClose , inherited from IDialogManager5 GetDialogToOpen , inherited from IDialogManager5 GetRegisteredDialogsBlockwise , inherited from IDialogManager4 HandleInputBefore , inherited from IDialogManager8 HasOpenModalDialog , inherited from IDialogManager3 IsDialogOpen , inherited from IDialogManager5 SetClientDataWithoutStartCycle , inherited from IDialogManager9 SetPAADialogOpenObject , inherited from IDialogManager7 SetTopMostDialogRect , inherited from IDialogManager6 getPaintAfterAllOpen , inherited from IDialogManager7 getVersion , inherited from IDialogManager7 Structure: ClosePAADialog2 (Method) CollectNonModalDialogRectangles (Method)
ICustomEventHandler.HandleCustomEvent (METH) ¶ METHOD HandleCustomEvent : BOOL This method will be called when a custom event in the visualization occurred. InOut: Scope Name Type Comment Return HandleCustomEvent BOOL TRUE - When the handler has handled this event and it should not be handled by someone else FALSE - When the event is not handled by this handler Input uiEventType UINT Identifies the event dwParam1 DWORD Event specific event parameter 1 dwParam2 DWORD Event specific event parameter 2 pOptAdditionalData POINTER TO BYTE Optional pointer to a piece of memory containing additional event data addDataSize __UXINT The size of memory pOptAdditionalData points to. Only relevant if pAdditionalData is not 0. Only the lower 3 bytes contain the size information. pClient POINTER TO VisuStructClientData A pointer to the client structure were the event occurred.
IDialogCloseListener (ITF) ¶ INTERFACE IDialogCloseListener EXTENDS __SYSTEM.IQueryInterface This interface has to be implemented by function blocks, that should get a notification, when a dialog is closed. To get this notification, the dialog has to be opened with method OpenDialog5 Methods: DialogClosed Structure: DialogClosed (Method)