Status text colors, Tatus, Olors – CTI Products RCD Standard - Remote Comparator Display User Manual

Page 79: In section 9.5, Section 9.5

Advertising
background image

MCN Remote Comparator Display

Appendix A

CTI Products, Inc.

Changing Status Message Text

68-10856-210

73

Four conditions define a DISABLE state:

1.

00 01 00 00 : DISABLE

2.

00 01 01 00 : DISABLE + RX

3.

01 01 00 00 : DISABLE + FAIL

4.

01 01 01 00 : DISABLE + FAIL + RX

Two conditions define a FAIL state:

1.

01 00 00 00 : FAIL

2.

01 00 01 00 : FAIL + RX

The last five states of the table (the TX states) are only displayed when a TSAM
Interface Module (TIB) is configured into the system. These states are present in
the TXSTEER.CFG file but not in the NORMAL.CFG file. If you need to display
the TX states (you are displaying transmitter steering information), then copy the
file TXSTEER.CFG to MCNRCD.CFG.

9.5 Status Text Colors

The following defines the color and b/w video attribute bytes (Table 5 shows the
layout of the bits for the attribute byte):

bit 7 = 0 for normal background intensity, 1 for high

background intensity

bits 4 - 6 = background color
bits 0 - 3 = foreground color

7

6 5 4

3 2 1 0

background intensity

background color

foreground color

Table 5 - Video Attribute Byte Definition

Color definitions are:

0 = black

8 = dark gray

1 = blue

9 = lt blue

2 = green

A = lt green

3 = cyan

B = lt cyan

4 = red

C = lt red

5 = magenta

D = lt magenta

6 = brown

E = yellow

7 = lt gray

F = white

Note: Only colors 0 through 7 are available for background colors because the
background color is defined by only 3 bits.

For example, for black letters on a red background, use 40.

Advertising