|
Capture Settings, Files |
Top Previous Next |
|
Capture Settings are set-up separately for each capture channels. Once these settings have been specified, OK or Apply should be clicked. This tab specifies Capture Log file names.
Capture Log Directories Allows Main and Alternate Capture Log Directories to be specified, in which capture log files be created. The Alternate Directory may be left blank if backup logs on a second disk drive or network share are not required. Clicking the icon at the end of directory edit box displays a Browse for Folder dialog allowing a drive and directory to be selected. If a new directory should be created, just enter it and it will be done automatically. It is not possible to save Capture Settings unless a test file can be created and written to the Main Capture Log Directory, and to the Alternate if specified. If network shares are used, a LAN Logon may need to be set-up in Common Settings, LAN/Misc.
Note that ComCap will exceptionally save Capture Logs and Information Logs in the program directory, if the normal directories are unavailable or are not specified during start-up.
New Log Interval Specifies how often a new Capture Log file should be opened. Note that each separate channel uses separate files (unless Common Logs are specified), and may have different settings.
New Log Open Time For the New Log Interval Daily, specifies at what time of day the new log is created, defaulting to 00:00:00 for midnight. If the time is set to anything other than midnight, the ‘Log Name Format’ must include provision for the time of day in the file name.
New Log Every For New Log Interval: Every x Minutes, specifies how often a new log file should be opened, defaulting to every 60 minutes. Note that new log files are only created when new capture data arrives, so there will not be any empty files during quiet periods. Logs are always opened on the exact minute.
Logs Per Day For New Log Interval Multiple Per Day, specifies how many new log file should be opened each day, starting at the New Log Time. Four logs per day with a new time of 00:00 would create new logs every six hours at 00:00, 06:00, 12:00 and 18:00; three logs starting at 06:00 would create new logs at 06:00, 14:00 and 22:00; seven logs per day from 00:00 would create new logs every 206 minutes, at 03:26, 06:52, 10:18, etc. The minimum Logs Per Day is two, maximum is 12, for lower or higher use the Hourly or Daily settings.
Delete Empty Capture Log on Rotation Ticking this option avoids empty capture logs remaining on disk, after they are closed and a new log opened. Note this only applies to the main capture log, not the alternate.
Log Name Format Specifies whether the file name format used for log file is standard or is customised by the user.
Custom Log Name Mask The Custom Name Format allows a Custom Log Name Mask may be created. This is done using mask characters that specify how the log date and optional time are formatted in the file name. Be very careful creating the file mask, it must include sufficient date and time masks to ensure a unique file name is created to match how often new logs are opened, so a daily log must have the day, an hourly log the time. The mask is validated to ensure that it includes yy or yyyy mask characters for year.
Date and time elements are creating using characters strings from the following table:
Any text to appear in the file name should be within single (') or double quotes ("). Note that a directory path may be included within the mask, so new directories are created each day or month. The mask must not include the leading back slash. The following table shows several mask examples.
As the Custom Log Name Mask is typed, the resulting file name appears dynamically. When capturing data from multiple channels, note the file names must be unique if the capture logs are saved in the same directory. It is not possible to add the channel number or name using mask characters so it must be added as text, ie 1 or 2, etc.
|