Display process, Examples, Isplay – CTI Products RCD Standard - Remote Comparator Display User Manual

Page 87: Rocess, Xamples

Advertising
background image

MCN Remote Comparator Display

Appendix A

CTI Products, Inc.

Changing Status Message Text

68-10856-210

81

9.10 Display Process

When MCNRCD receives an update from a Comparator I/O Module, the
following process is used to display the status text:

MCNRCD compares the input data against the input value fields

defined in the MCNRCD.CFG file.

If a match is found, the text defined for that input value is displayed

(the double quotes are not displayed) and the state number is stored
internally for MCNRCD use. Depending upon the usage of the /B
option, MCNRCD will either use the color video field attributes or the
b/w video attributes for the text and receiver name display.

If no match is found, the text for the last state definition in the

category’s list will be displayed (usually this will be an error
condition).

If the log field for either the previous state or this new state is 1, an

error could be logged to the screen and/or the disk (depending upon the
logging option settings).

When an error is logged, up to the first 8 characters of the state text are
placed into the old and new state fields of the log message. This log
message is displayed at the bottom of the screen or written to the log
file MCNERR.LOG.

When the text string is displayed, it is left justified to the longest

defined text string within the MCNRCD.CFG file. If needed, the
receiver name will be truncated so that the entire state’s text string will
fit on the screen. The entire receiver name will be redisplayed when
the receiver returns to the IDLE state (which is defined as all spaces).

9.11 Examples

The following examples are based on the example MCNRCD.CFG file described
in section 9.

A receiver is in IDLE state and the receiver’s new input value is 04 hex (RX)

MCNRCD displays the Rx text for the receiver.

Because logging fields of both the IDLE state and the RX state are 0,

no error logging occurs.

MCNRCD stores a new state value of 02 hex for the receiver.

Advertising