TSP Lab GyTP − SgaCopy Client GyTP_Client

GyTP − SgaCopy Client
("GyTP_Client")

Table of Contents

Features

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)
[Options]
  Allow checking, loading, and sending input files (Ctrl-A or ) Enables connection to the server
  Auto scroll ( ) Allows automatic scrolling of the log screen
  Save settings   Saves current settings into the configuration (INI) file

The bottom status-line

Logging

The module creates daily logfiles about its operation. The name of the logfile is "modulename_YYYYMMDD.log", reflecting the day when it is created.
The module can write information into the logfile and onto the screen at various 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 color coding of the log lines have the following meaning:

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 Grey Detailed data (debug info)
6 Dark Grey Detailed data (user info)
7 Purple Operator intervention;
Errors with emphasis

Configuration (GyTP_Client.ini) file settings

Section Entry Example Meaning
[Position]
  iLeft 4 Position of the program module on the display screen
  iTop 4 Position of the program module on the display screen
  iWidth 1032 Position of the program module on the display screen
  iHeight 776 Position of the program module on the display screen
[Options]
  bAutoScroll True Scrolls automatically the log window
  bAllowAutoReadInput True Enables connection to the server
[Upload]
  sGyTPServerIPAddress 192.168.0.2 IP address of the server
  wGyTPServerTCPPort 6000 TCP Port of the server
  sGyTPServerUploadDir Upload#1 Subfolder within the upload folder of the GyTP Server module
  szUploadFileMask_SomeTextHere d:\GyTP\*.tmp Mask of file specification to be uploaded
  szUploadFileMask_AnyOtherTextHere01 d:\GyTP\*.temp Additional file uploading specifications can be given by creating new definition entries
  dwUploadCheckPeriodSec 4 The period time (in sec) of file checking operation
  dwUploadDelaySec 4 The minimal age (in sec) of files to be uploaded
  bDeleteAfterUpload False If True uploaded files are deleted.
  bExclusiveRead True File open in exclusive sharing mode
  bEncryptionRequired True If True encryption is applied during the transfer
  dwTCPtxBufferSize 10000 Size of TCP buffer can be set (given in bytes)
[Advanced]
  wLogDetailLevel 3 Detail level of logging (Off, Normal, Detailed, or Debug)
  dwMaxLinesInLogWindow 1000 Number of lines in the log window on screen
  sLogFilesPath c:\LogFiles Path for the log files
  sTrapFilesPath c:\TrapFiles Path for the SNMP Trap files to be sent
  bAlternateTrapUID False Allows using fixed UIDs in SNMP traps

SNMP trap list

Traps can be forwarded to an SNMP Trap Manager by the Sga-Trapper module

.
UID Type Text Remarks To Do
If bAlternateTrapUID is set to TRUE
10 CEA 'GyTP (SgaCopy) Client v1.06' module is started. Send a welcome message; indication of module start-up  
10 CRI 'GyTP (SgaCopy) Client v1.06' module has been shut down by operator. Send a farewell warning message; indication of module shut-down Start the 'GyTP (SgaCopy) Client v1.06' module
101 ERR Uploading 'filename.ext' to 10.20.30.40 failed.... The sending of a file has failed. Check the connectivity to the 'GyTP (SgaCopy) Server' module.
Check whether the 'GyTP (SgaCopy) Server' module is running.
Check whether client IP is allowed to connect or upload folder exists or is not full. (The log of 'GyTP (SgaCopy) Server' module indicates more details about this failure.)
If bAlternateTrapUID is set to FALSE
N CEA 'GyTP (SgaCopy) Client v1.06' module is started. Send a welcome message; indication of module start-up  
++N CRI 'GyTP (SgaCopy) Client v1.06' module has been shut down by operator. Send a farewell warning message; indication of module shut-down Start the 'GyTP (SgaCopy) Client v1.06' module
++N ERR Uploading 'filename.ext' to 10.20.30.40 failed.... The sending of a file has failed. Check the connectivity to the 'GyTP (SgaCopy) Server' module.
Check whether the 'GyTP (SgaCopy) Server' module is running.
Check whether client IP is allowed to connect or upload folder exists or is not full. (The log of 'GyTP (SgaCopy) Server' module indicates more details about this failure.)

Version history of GyTP_Client