Statistics logging, Tatistics, Ogging – CTI Products RCD Standard - Remote Comparator Display User Manual

Page 59

Advertising
background image

MCN Remote Comparator Display

Running the MCN Comparator Display

CTI Products, Inc.

(MCNRCD) Program

68-10856-210

53

7.6.2 Statistics Logging

In some applications, you may want to check overall system performance or
system utilization. With the MCNRCD program you can log system activity to
disk by selecting the Log Statistics To Disk option in the Logging Options
menu.

Selecting Statistical Logging
1. From the Logging menu select Options... to display the Log Options Dialog

Box or press the

H

l

.

o

keys.

2. Select the Log Statistics to Disk check box with a mouse, or move the cursor

with the arrow keys.

The activity statistics are stored in a file called MCNSTAT.LOG. This statistical
log is a condensed version of the error log information. In order for a state to be
logged, the state’s text definition line in the MCNRCD.CFG file must have the
“log” field set to 1. Therefore, if you want to log all receiver activity, edit the
MCNRCD.CFG file and set the “log” fields for the states you want to gather
statistics on to a 1.

TIP:

Log filed in MCNRCD.CFG are used for both statatistical and error

logging. If error logging is enabled with all “log” fields set to 1, the program will
run slow since it must log every state change to disk. You may want to have an
MCNRCD.CFG file for Error Logging and also a different configuration file for
Statistical logging.

When using statistics logging, make sure you have a disk cache program, such as
SMARTDRV.EXE, loaded in your AUTOEXEC.BAT file. This will greatly
increase your logging performance since a lot of data will be written to the disk
during statistics gathering.

Statistical log entries are stored as numerical data in ASCII text format.
The following data is logged when a receiver changes state (in the order given):

MCN Group number ( 2 hex digits)

Module number (1 hex digit)

Receiver number (2 hex digits)

Old state (2 hex digits)

New state (2 hex digits)

Time of the state change (Hr:min:sec)

Date of the state change (month - day)

Advertising