02 Reading Records

In the simplest case, the signals to be analysed are read from a log, wave or trace file. Instead of creating a file, signal ports can read the data directly from streams such as TCP, pipes, applications, interfaces or debug adapters. If more than one signal source is present (e.g., log data from a serial interface and trace over TCP), these signals can be merged and synchronized.

Read from a Workspace Resource

A simple double-click on a workspace resource selects the corresponding reader and opens the viewer.

Read from Data Interface, Application or External HW

With the expandable concept of signal ports any signal source can be connected. This can be simple data connections with a configurable reader, external libraries or complex hardware interfaces.

Combine and Synchronize Multiple Inputs

Multiple signal ports of varying types can be combined into one, synchronizing the received signals.

Open a workspace resource

The Eclipse IDE usually has a special kind of Explorer view (Project Explorer , Package Explorer, ...) on the left side of the workspace windows.

To open a record file (wave file, log, trace, ...), select the file, open the context menu and choose "Open with" and "Impulse Viewer".

In most cases (if no other editor was used with the file resource) a double click on the file is sufficient.

Open an external file

Eclipse offers the possibility to open external files (i.e. a file that is not part of the workspace). This also works with Impulse.
Just open the file menu and choose "Open file".

H100 Attach - How to read my record file (wave file, log, trace,..)
  • impulse supports a lot of different file formats. To get an overview of your installed readers, open the Preferences view and navigate to impulse->Serializers.
  • To open a Workspace resource, double-click the record file (or use the context menu of the file).
  • Some readers require a configuration (e.g. CSV, PatternLog,..).
  • To add a configuration,
    1. Open the Preferences view and navigate to impulse->Serializers (or use the "Reload" button menu);
    2. Double-click the reader to open the readers preferences page;
    3. Press the "Add" button to add and configure the configuration.
  • To re-load a file with a different configuration,
    1. Enter the "Reload" button menu in the viewers toolbar;
    2. Select the configuration to re-load the file.
H101 Attach - What to do if my file type is not supported
  • If your file is not loaded (not identified as an impulse record file), first check our website if you need to install another extension (Products) to get the file supported.
  • If the file type is supported but not identified, please check if your file has the correct extension. See H102 to change the file extension.
  • If the file type is not supported, there are 4 options:
    1. If your file is a text log file with multiple text pattern, try the Pattern Log Reader (defines the content, using regular expressions).
    2. You can implement a reader in Java language (check the extension documentation) 
    3. Contact us to get a reader implemented.
    4. In case of reading signal data from a signal port (e.g. TCP, Memory, Serial Interface,..), you can use the Scripted Reader.
H102 Attach - How to change the file extension for a supported record type

impulse identifies a resource file by its extension and its content data. To change the file extension for a support record type:

  1. Open the Preferences view and enter General->Content Types;
  2. Open Element->Record and select the impulse content type (e.g. VCD Record)
  3. Press "Add" beside the field "File Associations";
  4. Enter the extension and press "OK".
H103 Attach - How to reload my file
To re-load a file:
  1. Click the "Reload" button in the viewers toolbar;
To re-load a file with a different configuration,
  1. Enter the "Reload" button menu in the viewers toolbar;
  2. Select the configuration to re-load the file.

Serializer

A serializer is a software extension to read or write signal data of a given format from or into a data stream (e.g. a VCD file). Users can extend impulse with additional serializers (e.g to read a custom format).


The serializer preference page contains a list of all registered serializer. If you press View/Edit (or double click on a serializer), the configuration dialogue opens and lets you extend and define the serilizer settings.

Content type association

The serializer dialog contains the field "Content type association" with which you can manage file associations (e.g. to add "*.log" as a valid file name).

Content type association is only meaningful for eclipse resources, not for port inputs like TCP oder File/Pipe ports.

Serializer Configurations

Many serializer require a configuration. The CSV reader, for example,  needs a configuration to that defines the geomertry of the CSV content (e.g. the no. of columns and the data types) . Such a configuration describes how a serializer shall process the input/output of a given file. 

Open the serilizer preference page to manage its seriailizer configuration

Reload

Use the "Reload" button in the Impulse viewers tool-bar to

  • reload the current file;
  • reload the file with a different serializer configuration;
  • reload the file with a different serializer;
  • or to open the serializer preferences.

 

Signal Ports

Instead of creating a file, signal ports can read the data directly from streams such as TCP, pipes, applications, interfaces or debug adapters. If more than one signal source is present (e.g., log data from a serial interface and trace over TCP), these signals can be merged and synchronized.

Stream Adapters

All standard adapters are stream adapters, which means that they can transmit any kind of data stream, and this data stream must then be interpreted in impulse.

For this purpose you can select a reader (e.g. VCD, CSV, ...) and optionally a reader configuration (some readers require a configuration - e.g. CSV, PatternLog,..) in the port dialogues.

toem

technical software and tooling

Company

Contact Us

This email address is being protected from spambots. You need JavaScript enabled to view it.