What can we improve?

Documentation

(Edit)

Translation is in progress...
Not all topics are available at the moment and content links may be broken.

GetValue

variant GetValue (integer $VariableID)

Parameters

VariableID ID of the variable

Returns

Value of the specified variable in the type of the specified variable

Description

The command returns the content of the IP-Symcon variable with the ID VariableID. The returned variable type is the one that was selected when creating the variable (IPS_CreateVariable). If the variable was created as a string, the command returns a string.

Example

$Window_open = GetValue(47788);   // Boolean-Variable: true or false
$current_project = GetValue(46250); // String-Variable: e.g. "Rain sensing"
Deutsche Webseite verfügbar
Go to cart
Any questions?