« Back to Product

Documentation

UpdateVisualizationValue

Require: IP-Symcon >= 7.1

 boolean UpdateVisualizationValue (variant $Data) 

Parameters

Data

Any data that is sent to the visualization

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

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?