« Back to Product

Documentation

UpdateVisualizationValue

Require: IP-Symcon >= 7.1

 void UpdateVisualizationValue (variant $Data) 

Parameters

Data

Any data that is sent to the visualization

Returns

No return

Description

This function sends data to the visualization via HTML SDK. The visualization must in turn have implemented the function handleMessage for receiving. This function is then called with Data as a parameter.

Warning

There is no fixed definition of how the data must be coded. Therefore, when developing a module, you can choose your own definition that suits the module well

Example

// In this example, a simple number is passed as the count
$this->UpdateVisualizationValue(5);
Any questions?