ADTF  3.18.2
Demo Substream Generator Plugin

Table of Contents

Demo Substream Generator

Plugin Information
Plugin Filenamedemo_substream_generator_filter.adtfplugin
Plugin Descriptiondemo_substream_generator_filter.plugindescription
Plugin NameDemo Substream Generator Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLhttps://support.digitalwerk.net/
Plugin Versions
Plugin Version3.18.2
Plugin File Version1.0
adtf3.18.2
adtf::ucom3.1.0
Component Information
NameDemo Substream Generator
CIDdemo_substream_generator.filter.adtf.cid
DescriptionUse this filter to generate data of multiple substreams whenever a timer triggers.
TypeFilter
Output Pins
NameStream TypeDescription
output adtf/substreams Provides the generated substreams.
Runner
NameActivation TypeData TriggeredData InputThread TriggeredThread CyclicTimer TriggeredTimer IntervalDescription
generate_samples000000Runner to periodically trigger the function which generates the substreams.
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Output Pin Stream Types
Pin Nameoutput
Meta Type Nameadtf/substreams
Stream Type Properties
NameValueTypeDescriptionSubproperties
substreamstruetBool
substreams/stream10tUInt32
substreams/stream1/typeadtf/plaintypecString
substreams/stream1/type/array_size1tInt32
substreams/stream1/type/c-typeUINT32cString
substreams/stream1/type/md_definitions
<struct name="UINT32" alignment="1" version="1"><element name="value" arraysize="1" type="tUInt32"><deserialized alignment="1"/><serialized bytepos="0" byteorder="LE"/></element></struct>
cString
substreams/stream1/type/md_structUINT32cString
substreams/stream21tUInt32
substreams/stream2/typeadtf/plaintypecString
substreams/stream2/type/array_size1tInt32
substreams/stream2/type/c-typeUINT32cString
substreams/stream2/type/md_definitions
<struct name="UINT32" alignment="1" version="1"><element name="value" arraysize="1" type="tUInt32"><deserialized alignment="1"/><serialized bytepos="0" byteorder="LE"/></element></struct>
cString
substreams/stream2/type/md_structUINT32cString
substreams/stream32tUInt32
substreams/stream3/typeadtf/plaintypecString
substreams/stream3/type/array_size1tInt32
substreams/stream3/type/c-typeUINT32cString
substreams/stream3/type/md_definitions
<struct name="UINT32" alignment="1" version="1"><element name="value" arraysize="1" type="tUInt32"><deserialized alignment="1"/><serialized bytepos="0" byteorder="LE"/></element></struct>
cString
substreams/stream3/type/md_structUINT32cString
substreams/stream43tUInt32
substreams/stream4/typeadtf/defaultcString
substreams/stream4/type/md_data_serializedfalsetBool
substreams/stream4/type/md_definitions
<?xml version="1.0"?>
<ddl:ddl xmlns:ddl="ddl">
<header>
<language_version>4.01</language_version>
<author></author>
<date_creation></date_creation>
<date_change></date_change>
<description></description>
</header>
<units>
<baseunit name="Kelvin" symbol="K" description="Fundamental unit for temperature" />
</units>
<datatypes>
<datatype name="tUInt32" size="32" description="Predefined DataType for tUInt32" arraysize="1" min="0" max="4294967295" />
</datatypes>
<enums />
<structs>
<struct name="tExampleStructWithUnit" version="1" alignment="4" ddlversion="4.01">
<element name="val" type="tUInt32" unit="Kelvin" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="4" />
</element>
</struct>
</structs>
<streammetatypes />
<streams />
</ddl:ddl>
cString
substreams/stream4/type/md_structtExampleStructWithUnitcString

Source Code
Remarks
  • You need a TimerRunner to get this filter working, see Timer Runner