« Back to Product

Documentation

LCN_ShiftTargetValue

 boolean LCN_ShiftTargetValue (int $InstanceID, int $Target, float $RelativeValue) 

Parameters

InstanceID

ID of the device to be switched

Target

Which controller should be shifted (0,1,2,3)

RelativeValue

Value by which to shift

Returns

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

Description

Shifts the current target value of the controller Target of the device with the ID InstanceID by the value RelativeValue.

Example

// Shifts the target value of the controller 1 by -1.7°C
LCN_ShiftTargetValue(12345, 1, -1.7);
Any questions?