|
ComCap is a Windows application designed to capture data received on PC serial communications ports or using network TCP and UDP streams and write it to text files. Captured data is shown in scrolling windows, and may be printed, written to SQL database tables or echoed to other PCs using network protocols or serial ports. Captured data can have text added such as date and time, a serial number and remote IP address. Data from up to 500 serial ports and network streams can be captured simultaneously, in separate files, with various file rotation schemes to start new files periodically. ComCap will capture to files on two separate disk drives for redundancy and will send email and SMS alerts if problems occur. ComCap is both a system tray and background service application that can be set to start automatically when windows starts, and remain unobtrusive. When using the background service, captured data may be still be viewed as it arrives.
ComCap features include:
| • | Capture from up to 500 serial COM ports, TCP/IP Server, TCP/IP Client and UDP/IP network protocols simultaneously, with suitable hardware. Many network appliances output log information, typically using the UDP/IP 'syslog' protocol, and as telephone switches become network aware (VoIP) they are offering network logging instead of the serial port.
|
| • | Capture from serial device servers that ‘convert’ serial port data to network protocols, from Lantronix, Lavalink, RE Smith and Tysso eCov for instance, easing data capture distances.
|
| • | Captured data is optionally shown in scrolling windows as it arrives, and earlier data can be viewed as well. Coloured tabs indicate which channels have started capturing data and which are stopped.
|
| • | Capture files may be in separate directories for each capture port and new files may be created daily or multiple per day (at specified times), weekly (Monday), monthly, hourly, every few minutes, after an inactivity period, when a new page character is received, or a fixed file name may be used. Multiple channels may optionally capture data into a common file, to reduce the number of separate log files.
|
| • | Capture file names (and optionally paths) are automatically generated, with a file name format customised with date and time in various ways, numeric or alphabetic.
|
| • | Capture data may be written to a database, such as Microsoft SQL Server or MySQL. Data formats may be created to identify fields within each line of data, as fixed width columns, character separated columns (CSV) or variable named columns. ComCap examines the SQL tables or stored procedures for column names and types, and allows mapping of which field of data is written to which SQL column. ComCap protects data that can not be immediately written to the database due to network problems, and will write it once the database becomes available again.
|
| • | ComCap can echo captured data directly to serial communications ports or parallel ports to drive printers, or echo to the network using UDP/IP (syslog), TCP/IP Server or TCP/IP Client protocols. Network echo can be used to allow capture of the same data to a maximum of five PCs simultaneously for redundancy or for remote capture with one PC near the data source echoing data to a centralised location.
|
| • | ComCap displays the status of the serial port CTS, DSR and DCD lines, and if a TCP/IP connection is established is connected, and flashes when data is received.
|
| • | ComCap has options to safeguard captured data, closing the log after each line to force it to write to disk, or after an inactivity period or periodically every few seconds or minutes.
|
| • | A separate information log file is maintained showing when capture starts and stops and other ComCap events, it will log capture status hourly with the number of lines received from each port or stream and to which logs it is being written. The information log may be sent to a remote PC using network protocols, perhaps to another copy of ComCap, to ease central monitoring of remote capture.
|
| • | A sound file may be played when each new line of data is captured (with a minimum gap between sounds, in case of frequent data).
|
| • | Raw data may be captured unchanged from the COM port or network stream, or the data may be cleaned up with non-printing characters removed and trailing spaces removed.
|
| • | When capture is started or stopped, command strings may be optionally transmitted and periodically repeated, perhaps to trigger a remote appliance to start or stop.
|
| • | Captured lines may have text added at the start or end, that can include escape sequences to add a serial number (of specified length), date and time in various formats, PC name, local or remote IP address.
|
| • | A comment may be added manually to any capture channel, using a pop-up dialog, this is intended to assist in documenting batch captures, perhaps from laboratory instruments.
|
| • | Alerts for problems are presented in a pop-up window and may be sent by email, by SMS to mobile telephones, using either a GSM modem or SMS internet gateway or to a remote PC using network protocols, perhaps to another copy of ComCap, to ease central monitoring of remote capture.
|
| • | Data loss checking, to detect if other windows applications caused ComCap to possibly lose data. An alert may be triggered if new data is not captured after a period, configurable by time and day of week, or if the PC appears to hang for a short period.
|
| • | For redundancy, ComCap will capture logs on two different disk drives at the same time, and continue logging if one of the disk drives is lost, the drives may be across a network with remote logon details specified. ComCap makes multiple attempts to open files, in case of conflict problems such as backup and protects data until it can be written to the capture file. If disk space runs low, ComCap will send an alert.
|
| • | ComCap is usually run as a Windows service that starts immediately the PC starts without needing a user to log-on. There is also a system tray application which can configure, monitor and control the service displaying data currently being captured, but which will also capture data if the service is not used.
|
| • | ComCap is supported on Windows 2000, XP, 2003, Vista and 2008. The minimum recommended PC is a Pentium III with 128 Mbytes of memory. ComCap is normally run with a higher priority than other windows applications, to ensure stable data capture, although a dedicated PC is recommended for valuable information.
|
| • | There are two editions of ComCap version 4:
|
| • | ComCap v4 Standard edition is limited to three simultaneous serial or network channels and does NOT support database or data filtering |
| • | ComCap v4 Unlimited edition has no channel restriction and adds database and data filtering support |
ComCap was originally designed to capture telephone call logging data from the serial port provided on most telephone switching systems (PABXs), typically called Call Data Records (CDR). The saved data may then be used as input to telephone call management applications that will cost calls and produce reports on telephone usage or for security audit purposes.
ComCap is application non-specific and will capture any data that arrives on a serial port or using network protocols. It has been used for a wide variety of purposes, such as logging output from test, alarm and monitoring equipment and serial printer data (but it can not process printer control characters).
Please note that ComCap is not designed to monitor data between modems and PC applications, it requires exclusive access to the serial port so no other application can use the port at the same time.
The ComCap distribution includes the 'ComGen Data Stream Generator' application which is designed to generate various types of test streams using any or all of the PC serial COM ports and potentially dozens of network streams, UDP Client, TCP Client or TCP Server, and has been used extensively for testing ComCap capturing multiple channels. There is also a small ‘Test RS232 Signals’ utility that may be useful in testing communication port and cabling problems. If the requirement is to capture serial data from another application on the same PC, ComCap includes a Null Modem Emulator (com0com) from http://com0com.sourceforge.net/ that installs a linked pair of virtual serial ports, instead of needing to use a physical pair of COM ports and a null modem cable.
Web: http://www.magsys.co.uk/comcap/
Help File for ComCap Release 4.3, 15th July 2008.
|