A reader loads the data of a given format and converts its contents into the internal representation. This article shows how to extend impulse by a simple reader creating several float signals. The article uses the ExampleFloatReader class in the Extension Toolkit.
Eclipse makes it easy to add new functionality in form of plug-ins. Plug-in A can define a so called Extension point whereas plugin B can use this extension points to add new functionality to plugin A. That's the way how Impulse can be extended by new data formats, data acquisition units, import and export means.
1. You need Eclipse Standard or Eclipse for RCP Devlopers.
2. Install Impulse together with the Impulse Extension Toolkit. It provides examples for all kinds of extensions.
The previous article was about creating a simple reader. This article explains how to handle logic signals. It uses the ExampleLogicReader class in the Extension Toolkit.
Integer signals are quite similar to logic signals but focus on a value, not on its bits (and have no bit width). Event signals do not have any data at all, they just represent a point in time or any other unit. The article uses the ExampleIntegerReader and ExampleEventReader classes in the Extension Toolkit.
In the first article (Creating a simple reader) we already handled float signals. This in-depth article shows the full interface and how to use. The article uses the ExampleFloatReader class in the Extension Toolkit.
The Extension Toolkit contains a couple of examples showing how to extend impulse in various ways. From impulse version 0.5.14 onwards, the download site contains the new Impulse Extension Toolkit as an option. You are free to use the plug-ins as basis for your own development.
A stream reader loads data of a given format like a normal reader and converts its contents into the internal representation. In contrast to a normal reader, a stream reader allows to load partial streams. Imagine a simulation process that writes its results into a pipe. With a stream reader, impulse will show all signals that were written until a certain point of time. This article shows how to convert a normal reader into a stream reader. The article uses the ExampleStreamReader class in the Extension Toolkit (that is the extended version of the ExampleFloatReader class).
In Version 0.9 we have changed the organization of packages in Impulse. Goal was to get to a clear structure that can remain unchanged for longer terms. Unfortunately this affects extensions like readers and ports developed before version 0.9.
Struct signals can be used as logs, transaction, chart data, gant evetns, and ... .A struct event is a combination of key value pairs, with values of type string , integer, float and enum.
Binary signals are built of byte arrays. In this example we use binary signals to display images.
Gant diagrams require event, event arrays or struct signals. Special content tags allow the diagram to extract the right information.