Start log file in Clarity
Applies to
Clarity software
Summary
Logging of communication between devices and Clarity software is a powerful tool for debugging. The switches to turn on or off logging are in the file C:ClarityCommDrv.ini. The daily log files are found here: c:\clarity\LOG\(file is named with a date tag).
Procedure
Go to the Clarity directory, open CommDrv.ini with a text editor and change the values as indicated below. Explanation of the parameters is in the header of this file. The “Echo” parameter is to enable or disable communication logging, default OFF. The “reset” parameters is to start a new logfile, or to append. The tag %D in the filename is a time stamp (date).
Example:
; DECADE Elite
[TCP_IP 192.168.5.1:10001]
echo=OFF   —> not logging 
textmode=ON 
filename=log-Elite_%D.txt
reset=ON
; AS110 
[TCP_IP 192.168.5.2:2101] 
echo=ON    —> logging is ON 
filename=log-AS110_%D.txt 
reset=ON
For an SDC detector, the details for logging COM-port communication are: 
; DECADE SDC 
[COMxxx]      set the correct COM port number here instead of xxx 
echo=ON    —> logging is ON 
textmode=ON 
filename=log-SDC_%D.txt 
reset=ON




