beautypg.com

Port monitor files – Comtrol RocketPort Serial Hub Series User Manual

Page 70

background image

70

Using Port Monitor (portmon.exe)

Windows NT

For Day reports, the single and multiple droplists behave the same, but
your choices are:

None: no report is generated.

Day Data: only variables with the words “Day” or “Raw” in the
names are included.

All Data: all variables are included.

View Data: only the variables that appear in the Port Monitor
window are included.

Likewise, the External Program field is used to enter a command line to
be executed after the daily reports have been generated.

The Update Time option allows you to set the rate at which the port
information is obtained and the calculations performed. There is a
trade-off between Port Monitor efficiency and response time. If you are
using Port Monitor to view the port activity on the screen, you may
want to set the update time to 1 or 2 seconds, so that the screen is
updated frequently. If you are concerned about the monitor program
using CPU resources, set this to a higher value, (6 to 20 seconds) in
order to decrease the time required by the program to perform the
calculations and update the screen.

If Port Monitor is left active to generate reports, minimizing or
reducing the display area of the program will help reduce CPU
requirements of updating the screen.

Port Monitor Files

Port Monitor creates and uses the following files:

portmon.vew

calcs.dat

The default column layout is saved in portmon.vew. If you have been
experimenting with the appearance of the monitor screen, you can use
the File menu Save option to save your customized layout in
another.vew file. You can retrieve this file later by using the File menu
Open option, or you can use the Edit menu View Default option to
retrieve portmon.vew and restore the default view.

All Port Monitor calculations are saved at program exit and on the hour
in a binary file named calcs.dat. This enables you to halt Port Monitor
execution without losing accumulated data.

Port Monitor also creates a \REPORTS directory. All hourly and daily
reports are saved in this directory, under the following names:

hall.txt — hourly single report

dall.txt — daily single report