TcXmlFormatter
The TcXmlFormatter offers functions to format text for TcEventLogger Events. It can handle several languages and can add floats, integers, or strings into the printed string. The printed strings are saved in a XML file. The TcEventFormatter is in the TcEventFormatter.dll.
Database
Ther TcXmlFormatter uses XML files as Database. Its configurated with 2 different XML files:
- In the file TcEventSourceLocation.xml are the Sources defined. The Id and name of the Event file are saved here for every Source.
- The messages are described by XmlEventConfguration.
When the XML file is changed, the TcEventLogger must be restarted (or the ITcServer Reset() method must be called).
To restart the EventLogger
1) Stop all Clients that use the TcEventLogger, like HMI, TcEventbar.
2) Stop TwinCAT.
3) Start the Task Manager and ensure, that the program TcEventLogger.exe is not running.
If the TcEventLogger.exe is still running you might need to restart the operating system.
4) Start TwinCAT again. The new Event configuration is now valid.