User Tools

Site Tools

한국어

comfilehmi:log_viewer:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
comfilehmi:log_viewer:index [2020/03/01 16:13]
COMFILE Technology [Example]
comfilehmi:log_viewer:index [2023/04/11 12:56]
COMFILE Technology [Example]
Line 1: Line 1:
 +====== Log Viewer ======
 +
 +The Log Viewer widget can be used to display the contents of a file in on the HMI screen.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer.png |}}
 +
 +After placing the Log Viewer widget on the screen, double-click it to open its properties window as illustrated below. ​ In the properties window, specify the path of the file to display.
 +
 +//Storage Card// is the root of the SD card from within the HMI.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_path.png |}}
 +
 +The Log Viewer will display the contents of the file.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_simulation.png |}}
 +
 +===== Example =====
 +
 +Create a global timer event with an associated Action to log to a file every 15 seconds.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_event.png |}}
 +
 +Set the path of the file to log to and use the //Text Builder// to specify the text to write.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_action.png |}}
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_text_builder.png |}}
 +
 +Add a //Log Viewer// widget to the screen.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer.png |}}
 +
 +Double click the Log Viewer widget to open its properties window and specify the path of the file to read from.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_path.png |}}
 +
 +Result.
 +
 +{{ :​comfilehmi:​log_viewer:​log_viewer_result.png |}}
 +
 +====== Video ======
 +
 +{{ :​comfilehmi:​log_viewer:​logvideoeng.mp4?​1000x500 |}}
 +
 +[[comfilehmi:​index#​widgets| Back to ComfileHMI]]
  
comfilehmi/log_viewer/index.txt · Last modified: 2023/04/11 12:56 by COMFILE Technology