TSP Lab SgaICFakeMonitor - The fake IC monitor SgaICFakeMonitor

The fake IC monitor
("SgaICFakeMonitor")

Table of Contents

Features

Basic operation

User interface

The main menu

Menu Menuitem Shortcut(s) Meaning
[Log]
  Find line containing... (Ctrl-F) Finds text in log window
  Find next matching line (F3) Finds next occurrence of text in log window
  Details   Detail level of logging (Off, Normal, Detailed, or Debug)
[Actions]
  Allow auto-connect ( or Ctrl-A) Allows automatic (re-)connecting to the Sga-IC Poller
  Disconnect now (Ctrl-D) Immediately disconnects from Sga-IC Poller
  Don't start reading the next input file   Reading the next input file can be prohibited or allowed by operator
[Options]
  Auto scroll (ScrollLock, or ) Allows automatic scrolling of the log screen
  Save settings   Saves actual settings into the configuration (SgaICFakeMonitor.ini) file

The bottom status-line

Configuration (INI) file settings

Section Entry Example Meaning
[Position]
  iLeft 140 Position of the program module on the display screen
  iTop 72 Position of the program module on the display screen
  iWidth 995 Position of the program module on the display screen
  iHeight 694 Position of the program module on the display screen
[Options]
  bAutoScroll True (Refer to the [Options]/Auto scroll menu item!)
[Advanced]
  wMaxCPUUsagePercent 25 Limit of CPU-usage for this module
  sPollerIPAddress 111.22.33.44 The IP address of Sga-IC Poller
  sPollerTCPPort 8000 Defines the TCP port of the Sga-IC Poller
  wLogDetailLevel 3 (Equals to the listed order; refer to the [Log]/Details menu item!)
  dwMaxLinesInLogWindow 1000 Number of lines in the log window on screen
  sLogFilesPath d:\LogFiles Path for the LOG files
  sDataFile8999Path d:\DataFiles1 Path of the folder where the SgaICDataPoller stores the temporary datafiles containing checkIMEI data

Logging

The SgaICFakeMonitor module creates daily logfiles about its working. The name of the logfile is "SgaICFakeMonitor_YYYYMMDD.log" reflecting the day when it is created.
The module can write information into the logfile and onto the screen with several detail levels set by the [Log]/Details menu item. The logging level can be: Status line counters are logged in every fifteen minutes irrespectively of logging level actually set.

The different colors of log entries have different meanings:

Code Color Usage
0 Black Compact data record
1 Red Errors
2 Green Open/close output file/stream
3 Blue Open/close input file/stream
4 Yellow Warnings
5 Light Gray Detailed data (debug info)
6 Dark Grey Detailed data (user info)
7 Purple Operator intervention;
Errors with emphasis