Remote LoggerThe Remote Logger is a debug tool that allows the Kreo programmer to view and save diagnostic messages that are generated by the edge component of the Kreo firmware.
Typically this debug tool is used to diagnose a malfunction in the most critical cases; the runtime does not start, starts and closes, communication is not established, a particular functionality is not executed.
Different types of information are displayed in the remote logger console:
Remote logger enviromentThe Kreo programmer must select the Remote Logger item in the Tools menu:
![]() Once Remote Logger has been selected, the relevant console opens.
Until the user starts the log section (via the PLAY command) the console appears empty.
![]() To start the debugging session the user must press the PLAY button.
The window for connecting to the target device appears:
![]() In the Client Address textbox, enter the address of the machine on which the debug console runs.
If the debug console is on the same PC on which Kreo HMI runs, localhost must be entered in this textbox.
The IP address of the target machine on which the Kreo HMI application runs must be entered in the Server Address textbox.
Once the connection is established, the window is populated with debug information.
![]() Module configurationsEach of the modules provides a series of commands that allow its configuration and management.
![]() 1. Allows you to save the configuration of all modules
2. Return the configuration of all modules to the default configuration (all changes are lost)
3. Edit the module configuration.
The following pop_up window appears.
![]() The first two entries identify the module and its context.
Channels allows the programmer to define where log information is saved and displayed:
Console. This option is valid only for the Kreo runtime used on PC platforms. This product has a log window to which messages are forwarded. The log window can be viewed from the Kreo PC Manager menu.
![]() File. The messages are saved to a file which can then be downloaded from the target device using the commands described below
Web Sockets. Messages are displayed live on the remote logger page.
Modofile. Defines whether the file that records the messages must always be kept open (in this case access to the file is faster but in the event of a sudden shutdown of the product the changes are lost) or closed after each recording (in this case the file is more secure but if message generation is particularly frequent some messages may be lost).
Filename. Name of the file that is created
4. Download the file from the server. Allows you to download the log file from the target device and save it locally
5. View the file. Force display of the file directly in a pop_up window
6. Clear files. Reset the log file
|