SetGaugeValue

Applies only to Gauges.

Syntax gauge.SetGaugeValue(value [, label [, min [,max]]])

Description Specifies the value of a gauge. Can also specify the label of the gauge, as well as the minimum and maximum value of an LED Bar Gauge.

For more information about gauges, refer to "Gauges" on page 13-35.

Parameters Gauge.SetGaugeValue() accepts the following parameters.

value

float

The value of the gauge.

label

String

The label for the gauge. This parameter is optional. If it is not specified, the value from the appearance file will be used.

min

float

The minimum value of the range for a LED Bar Gauge. This parameter is optional. If it is not specified, the value from the appearance file will be used.

max

float

The maximum value of the range for a LED Bar Gauge. This parameter is optional. If it is not specified, the value from the appearance file will be used.

Example 5.27 Set the Value of a Gauge

gauge.setGaugeValue(89, Server Load, 50, 110)