MeasurementColors

<< Click to Display Table of Contents >>

 

MeasurementColors

Link This property returns an object that allows configuring alarm colors by script. Alarm colors are available on the Measurements tab of the Power Configuration object. To use the object returned by this property at run time, users must deactivate the Power Configuration object before changing its properties, according to the next example.

Set pc = Application.GetObject("PowerConfiguration")
Set mc = pc.MeasurementColors
pc.Deactivate
mc.ColorNormal = RGB(0, 0, 192)
mc.ColorBad = RGB(0, 192, 0)
mc.ColorAlarm = RGB(0, 192, 192)
mc.ColorNAck = RGB(255, 62, 62)
mc.BlinkNormal = True
mc.BlinkBad = False
mc.BlinkAlarm = True
mc.BlinkNAck = False
pc.Activate

 

NOTE

Please check topic Measurement Colors for more information about the properties of the object returned by this property.

Was this page useful?