« Back to Product

Documentation

requestAction

Require: IP-Symcon >= 7.1

 void requestAction (string Ident, variant Value) 

Parameters

Ident

An ident

Value

A value

Returns

No return

Description

This function sends a message to the module and executes the function RequestAction with the given parameters.

Warning

Even if RequestAction is usually used to switch a variable with the given ident, the function is not limited to this. This means that any other behavior can be triggered when using an ident that does not match any variable.

Example

// Set counter to 5
requestAction('Counter', 5);
Any questions?