taurus taurus

Previous topic

User’s Interface

Next topic

TaurusForm User’s Interface

This Page

Taurus colors

Taurus uses color codes on many of its widgets. Colors are used to represent two main things: the state of a device and the quality level of an attribute. The state represents the summary condition of a certain device. For example, a power supply, maybe report to be On if it is working properly, Off if it is shutdown or Fault if there is a communication problem between the software and the physical device. Taurus allows for a reduced set of these states, each of which has a specified color. The table below shows all possible values for the state and their corresponding colors.

Taurus color guide
color scheme for the State
StateBackgroundForegroundPreview
OnDead Frog Green (0,255,0)Black (0,0,0)ON
OffWhite (255,255,255)Black (0,0,0)OFF
CloseWhite (255,255,255)Green (0,128,0)CLOSE
OpenDead Frog Green (0,255,0)Black (0,0,0)OPEN
InsertWhite (255,255,255)Black (0,0,0)INSERT
ExtractDead Frog Green (0,255,0)Black (0,0,0)EXTRACT
MovingLight Blue (128,160,255)Black (0,0,0)MOVING
StandbyYellow (255,255,0)Black (0,0,0)STANDBY
FaultRed (255,0,0)Black (0,0,0)FAULT
InitGrenoble (204,204,122)Black (0,0,0)INIT
RunningLight Blue (128,160,255)Black (0,0,0)RUNNING
AlarmOrange (255,140,0)White (255,255,255)ALARM
DisableMagenta (255,0,255)Black (0,0,0)DISABLE
UnknownGray (128,128,128)Black (0,0,0)UNKNOWN
Gray (128,128,128)Black (0,0,0)-----

The quality of an attribute (example, voltage of a power supply) defines it’s “state”. If the value of an attribute can be read then its quality is valid. If for some reason there is a problem when trying to read the attribute value from the equipement and it cannot be displayed, then the quality is set to invalid. If the value is below or above the warning or alarm thresolds, then the quality is set to alarm. The quality is set to changing when the value is being changed over time (example, the position of a motor is changing during a motion).

Taurus color guide
color scheme for the quality
QualityBackgroundForegroundPreview
InvalidGray (128,128,128)White (255,255,255)-----
ValidDead Frog Green (0,255,0)Black (0,0,0)10.89 mV
AlarmOrange (255,140,0)White (255,255,255)76.54 mV
WarningOrange (255,140,0)White (255,255,255)64.23 mV
ChangingLight Blue (128,160,255)Black (0,0,0)20.45 mV
Gray (128,128,128)Black (0,0,0)-----