Large logs are often a big mess. It is usually not easy to understand the relationship and order of the log entries of interest and to get rid of the large mass of non-relevant information. Besides the impulse viewer, which displays logs and traces (with other signals) on a domain axis, there are Sample Tables and Sample Inspectors that help to understand the chaos.
The Sample Tables shows the different events within your signals as a table. This table displays the index and domain position (e.g., time) on the left-hand side and the value (plus optional value specific columns) of it on the right-hand side. When you choose to display multiple signals, the table additionally shows their names.
You control the Value Table with the toolbar in the upper right-hand corner of it. There you find:
On the configuration page you can configure all columns and choose between multiple preference sets.
To open a Sample Table, open the Window menu in the upper left tool-bar, then choose Show View->Other, and within the window that opens you select Impulse and select the Sample Table.
To show signals in this table, just select one or more signal in the viewer (assumes the default setting of the table). Instead of using selection, you can use the Show In context menu of the viewer or Navigator. This will automatically freeze the input.
You can display and use up to 4 tables. You can select the samples in the table and copy&paste to get CSV.
Initially, one cursor is part of a new view.
If you have more than one cursor, you may need to switch between them. You can activate a cursor or simply make the cursor visible (by changing the axis position).
You can move the the axis and cursor by:
You can make a given range in time (or frequency,..) visible by:
One great feature of impulse is that you can sync the selection of the viewer and the value tables. You can disable sync in the tables tool-bar (Sync Position).
This means, if you move or change the active cursor, the tables will show the valid samples selected at that time. If you change the selection, the viewer and the other tables will change their selections too.
Beside the viewer, that allows you to define complex search expressions, the Samples Tables allow to filter and search for samples too - in a more easy way.
To limit the number of samples in the table, just type in an expression into the filter field. impulse will just show those samples that match the expression.
To find or traverse over certain samples, use the find dialogue. It looks like and behaves like a normal text find dialogue. You can search in any column.
You have the following options to set a filter:
The Sample Inspection window lets you inspect the details of a sample. If you've opened the sample editor, the window has additional controls that let's you edit the actual samples.
The toolbar options
are the same as in the Sample Table.
In the head line (below the main toolbar) you find the the index of the sample displayed. On the right-hand side you see some button to iterate forward and back.
Below table shows the content of the selected sample:
At the bottom there are additional fields:
On the configuration page you can configure all fields and choose between multiple preference sets.
The Find dialogue of the Viewer helps you to find signal patterns. It behaves like the standard find dialogue of the text editors. You type in a find expression, select if you want to search forwards or reverse, with or without wrapping and then click find. The active cursor will be placed at the found position.
To start searching, select the signals to search and press Ctrl-f. The Find dialogue pops up with a predefined expression. This expression contains all selected signals and compares them with the values at the active cursor position.
Modify the expression to your needs and press find. The active cursor will be placed at the found position. Click Reverse to do reverse searching, or Wrap to move from the end of the signal to its beginning.
If the expression has an error, you will get a message in the status log below.
If the log data is read from a text file using the pattern log reader, the table will offer the possibility to sync with the text log file. If you select Show-in Text Editor, impulse will open the file (if not already opened) and set the cursor to the sample position.
Last, not least, Markers can help to remember sample and event locations. Use the Plot context menu (Insert ...) to add markers at interesting positions. If you save the record into a file resource, the eclipse Bookmark and Task View can be used to open the file and find the defined marker locations.