ADTF_DISPLAY_TOOLBOX
3.8.0 (ADTF 3.14.3)
|
Plugin Filename | example_signal_provider.adtfplugin |
---|---|
Plugin Description | example_signal_provider.plugindescription |
Plugin Name | Demo Signal Provider Service Plugin |
License | ADTF |
Support Mail | support@digitalwerk.net |
Homepage URL | https://support.digitalwerk.net/ |
Plugin Version | 3.8.0 |
---|---|
Plugin File Version | 1.0 |
adtf::disptb | 3.8.0 |
adtf | 3.14.3 |
adtf::ucom | 3.1.0 |
Name | Demo Signal Provider UI Service |
---|---|
CID | demo_signal_provider.ui_service.distb.cid |
Description | Use this Service to add custom signals to ADTF Signal Registry and provide signals for Signal Scope and Table View. |
Type | Service |
Default Runlevel | system |
Name | Value | Type | Description | Subproperties |
---|---|---|---|---|
signal_update_rate | 500000 | tInt64 | Signal update rate in [us] | |
title | cString | Window title which will be used at runtime within ADTF Qt XSystem. |
The display toolbox is shipped with an example-project showing the ability of the signal view. With this example a cyclic updated signal is created. The signal can then be dragged to the table view or scope view to be displayed.
To use the example-project just do the following.
The Example Signal Provider is a service shipped with the toolbox to give you the ability to comfortably generate example signals to be displayed with the signal view.
Using the button Add Signal you can create a single signal. To create it you have to specify the information name, description, unit, min, max, increment. As unit a string of your choosing is to be provided. Min and max will have effect on the initial zoom-level of the plot for the signal. The value increment specifies the value to be added each time a new signal-value is provided by the provider (a negative value can also be provided). Each signal starts with 0. After a new signal was created a dialog pops up to display the ID of the just created signal. This id can later be used to remove the signal from the signal registry.
Using the button Add Signals you can create a number of signals at once. Just input the number of signals to be created. These signals will be named "signals/batch/signal_<ID>". <ID> is the id of the signal that can also be used to delete it. Also it specifies the increment-value of the signal.
Using the button Remove Signal you can delete any signal that was created with the Example Signal Provider by providing its id.
In the System Editor of the CE you can alter the property signal update rate to effect how fast the signal values are changing.
To provide a example signal the Demo Signal Provider Filter which is part of the examples of ADTF 3 is used. The filter will automatically on its initialisation create a new signal and register it with the signal registry of ADTF. The filter will be called cyclic by a timer that is connected to its trigger port. Every time that filter is called a new signal value is calcuated and updated with the signal registry. Because it is a filter it is part of the Filter Graph (see configuration of the example).