Port monitor files, Port monitor variables – Comtrol Multiport Modems Windows 2000 User Manual
Page 33

Comtrol Tools
33
Port Monitor Files
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 selecting the Open option from the File menu, or you can select the View Default
option from the Edit menu 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
•
hcomx.txt — hourly multiple reports, where x is the port number
•
dcomx.txt — daily multiple reports, where x is the port number
Caution: Since multiple reports append new data each time they are written, the
multiple report files grow in size. It is up to you to delete them
periodically.
Some safeguards are built into the program to avoid filling up a hard disk drive
due to growing report files. The monitoring program stops writing additional data
to the multiple reports if they reach a size of 2 MB. Also, the program will not
write out data files to the disk drive if the spare room on the drive is less than 2
MB in size.
To view or edit an hourly or daily report, select the Edit Report option from the
File menu, or use a system tool such as Microsoft Notepad.
For more information, see the Port Monitor Help file.
Port Monitor
Variables
The following table lists Port Monitor variables.
Variable
Description
Open
Open status, on if open, off if closed.
Cts
Input CTS pin status.
Dsr
Input DSR pin status.
Cd
Input CD (carrier detect) pin status.
Rts
Output RTS pin status.
Dtr
Output DTR pin status.
TxTotal
Total bytes transmitted.
RxTotal
Total bytes received.
TxCPSInst
Instantaneous average of transmit characters per
second.
RxCPSInst
Instantaneous average of receive characters per
second.
Errors
Total hardware receive errors (parity, framing, and
overruns.)
TxMinCPS
Last minute average of transmit characters per
second.