« Back to Product

Documentation

IPS_SetVariableProfileDigits

 boolean IPS_SetVariableProfileDigits (string $ProfileName, int $Digits) 

Parameters

ProfileName

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

Digits

Number of decimal places displayed in the visualization

Returns

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

Description

This function sets the number of decimal places displayed in the visualizations to Digits for the variable profile with the name ProfileName.

Warning

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

Example

IPS_SetVariableProfileDigits("Temperature", 1);
Any questions?