• 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
  • MessageQueue

MessageQueue

MessageQueue

The MessageQueue block can be used to queue incoming (In) events (i.e. messages with data) to be emitted to the output (Out) one-by-one, on Next event.

Usage

MessageQueue is a useful helper block to add guaranteed one-by-one processing for incoming events to avoid new event processing to be started before the previous event is fully processed.

Input and Output Events

NameInput or OutputDescription
InitInputInstructs to clear message queue, then emits Inited
InitedOutputWill be emitted after Init is done
InInputInput events to be queued should be sent here
OutOutputOutput events will be outputted via this one-by-one
NextInputWhen Out message processing is finished, then this message should be sent to let the MessageQueue block know that it can emit another pending message to Out. When no pending events are in queue Empty will be emitted instead.
EmptyOutputWill be emitted in response to Next when there are no more pending events in queue

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