« Back to Product

Documentation

IPS_SetVariableProfileValues

 boolean IPS_SetVariableProfileValues (string $ProfileName, float $MinValue, float $MaxValue, float $StepSize) 

Parameters

ProfileName

Name of the profile. Available profiles can be queried via IPS_GetVariableProfileList.

MinValue

Minimum value used for the visualization. This soft limitation does not affect the variable value.

MaxValue

Maximum value used for the visualization. This soft limitation does not affect the variable value.

StepSize

Step size used for the visualization to create the setpoint change bar. A step size of 0 activates the association list.

Returns

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

Description

The command sets the minimum value, maximum value, and step size of the variable profile with the name ProfileName to MinValue, MaxValue and StepSize, respectively.

Warning

Standard profiles cannot be changed. These profiles names begin with a tilde (~).

Example

IPS_SetVariableProfileValues("Temperature", -10, 40, 0.5);
Any questions?