```table-of-contents ``` This window is designed to work with the device’s log database. Through this window, you can view and delete event and measurement records, perform search operations, export measurement data, and carry out other tasks. The list only displays records for the device whose serial number is selected in the [[Windows Overview|dropdown list ]] on the main RadiaCode window's control panel. Keep this in mind if you have been working with more than one RadiaCode unit. When the device is connected to the computer, the program automatically reads accumulated log entries from the device, and they appear in the window. At the same time, the entries read from the device are deleted from the device itself. To quickly switch to the log window, click its button on the control panel of the main RadiaCode window: ![[EN/Windows APP/ImagesPC/openlog.png|400]] Frequently used commands related to this window can also be executed using the buttons on the window’s control panel. For a full list of commands, open the local menu by right-clicking in the window: ![[EN/Windows APP/ImagesPC/localmenulog.png|400]] The information in the window is displayed in a table. The right-hand panel shows details related to the row selected in the left-hand panel. To change the order of the columns in the table, you can drag them left or right by their headers. The "Window Display Options" command from the local menu or the "Settings" button opens a dialog where you can choose which columns to display and in what order. The information in the window is sorted by the contents of one of the columns. To change the column used for sorting, click its header. Clicking it again reverses the sort order. **You can use the Ctrl+A key combination to mark all entries** Some window commands support working with multiple selected records. To select multiple records, click them while holding down the Ctrl or Shift key, as is common in Windows applications. There is a quick search box on the left-hand control bar of the log window. If you click on this box and start entering text, the window will display a line containing this text in any of the columns: ![[EN/Windows APP/ImagesPC/quicksearchspectrum.png|500]] If the typed string is missing in all fields of the base, the background of the search field will become pink. To the right of the Quick Search field is the field for selecting the serial number of the device, the records of which will be displayed in the window. This field can be used if the database has records from different instances of the RadiaCode. You can choose to display both the records of one specific device and the display of all records of all devices. **Window command** [[Event Log Window#Edit record comment|Edit record comment]] [[Event Log Window#Display settings|Display settings]] [[Event Log Window#Search database|Search database]] [[Event Log Window#Records filter|Records filter]] [[Event Log Window#Delete record(s)|Delete record(s)]] [[Event Log Window#Delete Older than…|Delete Older than…]] [[Event Log Window#Export to HTML|Export to HTML]] [[Event Log Window#Save Selected Records to CSV|Save Selected Records to CSV]] ## Edit record comment ![[EN/Windows APP/ImagesPC/logeditcomment.png|500]] Set or change a custom comment for the current entry or for all selected entries Comments are displayed in the log window in the “Comment” column, and are also output in .html and .csv files, which are created by the corresponding window commands. If more than one record is selected, the check mark at the bottom of the comment window indicates whether to set the comment for all selected records or just the current record. ## Display settings Using the “Settings” button on the window control bar, you can specify which fields should be displayed in the window and in what order: ![[EN/Windows APP/ImagesPC/openlogsettings.png|300]] The “Database window display options” dialog box opens: ![[EN/Windows APP/ImagesPC/logcsvconfig.png|500]] The fields marked with a checkmark in the list are displayed in the window. Using the “**Move up**” and “**Move down**” buttons one can control the order of the fields in the window: the higher the field Graphical interface 8 © 2024 Radiacode Ltd. is in the list, the further to the left it will be in the window. Use the Ctrl and Shift keys to select more than one field at a time. One can also change the order of the fields in the table directly in the window by dragging the field titles with the mouse. ## Search database Use this function to perform an advanced search for a data in the database. To search, click the “Search” button on the window control bar: ![[EN/Windows APP/ImagesPC/logopensearch.png]] A dialog box opens where you can set the search conditions and the way the results are displayed: ![[EN/Windows APP/ImagesPC/logsearch.png]] · In the “**Search for**” field enter a substring to search for. · In the “**Search in**” list mark where to search the entered row. · In the “**Search direction**” list specify the direction of the search. · In the “**Match criteria**” list select how the search string-argument should be compared to the contents of the field. · If the “**Case-sensitive search**” option is enabled, large and small letters are considered different, when comparing. To start a search, click the **“Search"** The “Highlight all found” searches and highlights all fields that satisfy the search condition with a green background: ![[EN/Windows APP/ImagesPC/logsearchhighlight.png]] The “Select all found” searches and marks all lines containing fields that satisfy the search condition: ![[EN/Windows APP/ImagesPC/logsearchselect.png]] You can then perform a group operation with the marked entries, such as deleting them or saving them as a table in an HTML file. ## Records filter Record filter is an advanced function, which allows displaying in the window only those records, which meet the specified conditions. For example, you can set the filter so that only measurement records with alarms made between certain dates are displayed. To set the filter conditions, click the “Filter” button on the window control bar: ![[EN/Windows APP/ImagesPC/logopenfilter.png|300]] The “Database filter settings” dialog box opens: ![[EN/Windows APP/ImagesPC/logfilter.png|500]] Enable the filter. The “Insert condition” and other buttons to the right of the “Filter condition” field will become available. The “**Insert condition**” button opens a dialog box where one can set a filter condition: ![[EN/Windows APP/ImagesPC/logfiltercondition.png|500]] At the top, one can set the database record field to be filtered. To do this, click the arrow to the right of the field (only those fields that appear in the window will be listed. Configuration of the window view is described in the “Display settings"): ![[EN/Windows APP/ImagesPC/logfiltercondlist.png|500]] Next, specify which condition will be used for filtering. The list of conditions depends on the field type: for text fields it will be as shown in the picture below, for numeric fields you can specify the value, for date - select the date and time. ![[EN/Windows APP/ImagesPC/logfiltercondcond.png|500]] In the bottom entry field, which also depends on the type of database field selected for filtering, you shall enter or select from the suggested list what its contents are compared with: ![[EN/Windows APP/ImagesPC/logfilterargument.png|500]] Click the “OK” button. Condition will be added to the list of conditions: ![[EN/Windows APP/ImagesPC/logfilteronecond.png|500]] If you add more conditions in a similar way, the list of conditions might look like this: ![[EN/Windows APP/ImagesPC/logfiltercondexample.png|500]] As you can easily guess, the three conditions entered are linked by “AND”, i.e. records that satisfy all three conditions at the same time will be displayed in the window. To change from “AND” to “OR”, click on the line with the letter “AND” in the list on the left, and then click on the **“AND” <--> “OR”.** Now the condition is that the window will display entries that satisfy the first and at least one of the second and third conditions. If there are enough conditions, you may need to prioritize comparison operations. For this purpose the buttons **“Insert ')'”** and **“Insert '('”,** which insert brackets in the conditions. When the filter is enabled, all window entries are highlighted with a yellow background so that you don't forget that the filter enabled. The filter condition is displayed in the window title: ![[EN/Windows APP/ImagesPC/logfilterexample.png|500]] ## Delete record(s) Delete record(s) To delete an entry, make it the current entry by selecting it in the window and clicking the “Delete” button on the window's control bar ![[EN/Windows APP/ImagesPC/logdelete.png|400]] A prompt is given to confirm the deletion. Several marked entries can be deleted at the same time ## Delete Older than… This command allows you to delete log entries older than a specified date. To do this, click the "Delete Older than" button in the control panel: ![[EN/Windows APP/ImagesPC/logdeleteold.png|500]] After confirmation, records older than the selected date are removed from the database. ## Export to HTML This function allows you to save the log as a table in an HTML file. Later, the saved HTML file can be opened in Microsoft Word or Excel for editing, printing, or emailing. To execute the command, click the "HTML" button on the control panel: ![[EN/Windows APP/ImagesPC/loghtml.png|400]] >[!warning] If multiple entries are selected (using Ctrl and Shift), only those records will be saved. If nothing is selected, all log records are saved to the HTML file. Only the fields currently visible in the window are saved, in the order they appear. To configure the window's appearance, refer to the [[Event Log Window#Display settings|"Display Settings"]] section. A dialog will appear prompting you to choose a file name for the HTML file. Here is an example of the table in an HTML file: ![[EN/Windows APP/ImagesPC/loghtmlexample.png]] ## Save Selected Records to CSV This function allows you to save selected log entries to a CSV file for further analysis in Excel. To execute the command, click the "CSV" button on the control panel: ![[EN/Windows APP/ImagesPC/logcsv.png|400]] **Only selected records are saved to the CSV file. If nothing is selected, only the current record is saved.** Before saving, you can choose which table fields to include and their order: ![[EN/Windows APP/ImagesPC/logcsvconfig.png|500]] In addition to visible table fields, the CSV file also saves the measurement parameters in a "raw" format (i.e., numerical format recognized by Excel). This allows for further analysis and graph creation in Excel. To simplify searching and selecting records, you can use [[Event Log Window#Records filter|filters]].