GE Intelligent Platforms > Support >  KB > KB3152
How To Use The GSM_UNAVAIL_COLOR_KEY Global Parameter To Change the Unavailability Color in CimView
Description

Description

In order to change the unavailability color that is used by CimView when displaying an on object tied to an unavailable point, modify the GSM_UNAVAIL_COLOR_KEY global parameter. This parameter has a value that references an index number of a color located in the RGB.data file. Before this global parameter is changed, the RGB.dat file may need to be created (it only needs to be created manually on older versions of CIMPLICITY). RGB.dat files, when used, define the RGB index numbers. If using the default indexes used by Alarm State and Color Index animation, there is no need to define RGB.DAT to access the colors.

Resolution

Create an RGB.DAT file to change any of the default colors (0 through 95) or want to add more colors to the default table. Indexes 96 through 255 are available for this purpose.

If the file is changed or created when:

  1. On a CIMPLICITY HMI Server, store a copy of the RGB.dat file in each project's /data directory.
  2. On CIMPLICITY HMI Viewer, store it in the /data directory under the main directory where the CIMPLICITY software is installed.
  3. Importing screens from a CIMPLICITY System-I/U, -D/V, -H/U, or -RS/U system that do not use the default color mappings.

If importing screen files from a CIMPLICITY System-D/V, -H/U, -I/U, or -RS/U system, the color mappings should match the RGB.DAT file on that system. If the system being importing from does not use the default color mappings, then create an RGB.DAT file that matches the one on the source system to display its screens correctly.

Example:

Using the RGB.DAT table below to use a color of Blue for the Unavailability color define the following

Project Global: GSM_UNAVAIL_COLOR_KEY
Value: 3

The RGB.dat values and the associated colors are :

Number

Red

Green

Blue

Color

0

0

0

0

Black

1

255

0

0

Red

2

0

255

0

Lime

3

0

0

255

Blue

4

128

0

0

Maroon

5

0

128

0

Green

6

128

0

128

Purple

7

255

255

255

White

8

0

128

128

Teal

9

128

128

128

Gray

10

128

128

0

Olive

11

32

64

64

Dark

12

224

176

160

Rose

13

255

0

255

Fuchsia

14

0

255

255

Aqua

15

255

255

0

Yellow

16

255

128

0

Orange


ProductVersionModule
HMI/SCADA - CIMPLICITY All All


Details
ID: KB3152
Legacy ID: i060088
Category: How To
Last Updated: 03/27/14
Date Created: 06/30/03
Status: Published
Attachments: No
Language: English
User Group: All


 


Rate this content record (1=lowest, 5=highest)
5
4
3
2
1
Comment