« Back to Product

Documentation

ALL_SetAnalog

Require: IP-Symcon >= 5.0

 boolean ALL_SetAnalog (int $InstanceID, int $ChannelID, float $Value) 

Parameters

InstanceID

ID of the device to be switched

ChannelID

ID of the channel to be switched

Value

Value to which the channel should be set

Returns

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

Description

Sets the value of the channel with the ChannelID Channel of the device with the ID InstanceID to the value Value

Warning

The ChannelID can be seen from the status variables of the instance. See find out ChannelID

Example

// Sets channel 3 of device 12345 to 20.4
ALL_SetAnalog(12345, 3, 20.4); //Turn device on
Any questions?