mobileFX WebKitX CEF3 ActiveX 4.x
WebKitXCEF3Lib ActiveX Control / WebKitXCEF3 Object / OnHMIControlSignal Event

The index of the HMI_VALUE control signal that was changed.

The string representation of the HMI_VALUE control signal that was changed.

In This Topic
    OnHMIControlSignal Event
    In This Topic
    Description

    Fired when HMI_VALUE property is changed. 

    Syntax
    Visual Basic
    Public Event OnHMIControlSignal( _
       ByVal Index As Long, _
       ByVal Data As String _
    )
    Parameters
    Index

    The index of the HMI_VALUE control signal that was changed.

    Data

    The string representation of the HMI_VALUE control signal that was changed.

    Remarks

    With WebKitX you can create modern HMI Control Boards by forwarding HTML button clicks and values to the underlying Automation and IoT controllers. The output signals are transmitted in real-time from HTML to the controllers over the HMI_VALUE properties. The idea is that you set in JavaScript the HMI_VALUE[index] property to a control signal value (eg. a "pump open command") and it becomes available instantly to the data bound WebKitX.HMI_VALUE property.

    Every time any of the 255 HMI_VALUE properties change, WebKitX calls BoundPropertyChanged(dispidHMI_VALUE) where OLE containers are expected to get notified, handle the bound property change, and forward the received HMI value to the underlying Automation and IoT controller. Also, for HMI OLE containers that implement COM Connection Points, WebKitX also fires the OnHMIControlSignal event every time a HMI_VALUE property changes its value.

    See Also