« Back to Product

Documentation

IPS_SetVariableProfileValues

 bool 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 function succeeds, it returns TRUE, otherwise FALSE.

Description

The function 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, which cannot be changed, start with a tilde (~).

Example

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