• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Sequencer
  • SeriesMerger

SeriesMerger

SeriesMerger

The SeriesMerger is a sequencer block, that collects different data series received via different input events and outputs them merged via a single output event.

The SeriesMerger is useful when you have to merge multiple event series (i.e. arrays of data) into a single, merged event series (i.e. merge the elements of different arrays into one array).

Events

NameInput/OutputDescription
Any user-added input eventInputData value(s) from this event will be collected as the merged series data and will be sent out as combined via Merged events data, after incoming Merge event received.
MergeInputWill cause all collected input event data to be merged and sent out to via Merged event, one-by-one
MergedOutputDifferent input event merged data will be emitted one-by-one via this event, after Merge received
MergeDoneOutputWill be emitted after all Merged events have been sent out
InitPredefined input eventWill clear all collected pending user events, then emits Inited
InitedPredefined output eventWill be emitted after Init is done

Arguments

NameDescription
Any user-configurable input argumentData argument for input series, that need to be merged. Note, that the argument must be selected as data for the corresponding input event. Note also, that all the arguments must be selected as data for the Merged output event. This is done by clicking into the event's Data property and by selecting the argument name.

Example

For example, let's assume we have to merge 2 separate event series - signals series having values named signal and equally sized values series having values named value - into one merged series where every element has 2 values signal and value. To merge them, we must configure a SeriesMerger block with 2 added input events: signals event, that has a data argument signal and the values event that has a data argument value. The signal and the value argument must also be configured as data arguments for Merged event.

The following table shows some example input series events that were sent to the block and also the corresponding merged output series events that were emitted by the block in response:

Timestamp (in increasing order)Input event (with argument values)Output event (with argument values)
`T_1`signals (signal=Sig1)
`T_2`signals (signal=Sig2)
`T_3`signals (signal=Sig3)
`T_4`values (value=1.23)
`T_5`values (value=2.34)
`T_6`values (value=3.45)
`T_7`MergeMerged (signal=Sig1,value=1.23)
Merged (signal=Sig2,Value=2.34)
Merged (signal=Sig3,Value=3.45)
MergeDone

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top