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

CDP Studio

Software development tool for distributed control systems

  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP Core
  • PortDEMUX
  • 4.10.7

PortDEMUX Class

The PortDEMUX component is a demultiplexer for CDPPort objects where Index=0 selects the first output port and propagates the connection or data from input port to the selected output port. More...

Header: #include <ComponentLib/PortDEMUX.h>
Inherits: CDPComponent
  • List of all members, including inherited members

Public Functions

~PortDEMUX() override

Reimplemented Public Functions

virtual void Configure(const char *componentXML) override
virtual void Create(const char *fullName) override
virtual void CreateModel() override
virtual void ProcessNull() override
  • 88 public functions inherited from CDPComponent
  • 37 public functions inherited from CDPObject
  • 39 public functions inherited from CDPBaseObject
  • 25 public functions inherited from CDP::StudioAPI::CDPNode
  • 22 public functions inherited from CDP::StudioAPI::ICDPNode

Additional Inherited Members

  • 2 static public members inherited from CDPComponent
  • 6 static public members inherited from CDPObject
  • 1 static public member inherited from CDPBaseObject
  • 12 protected functions inherited from CDPComponent
  • 13 protected functions inherited from CDPObject
  • 1 protected function inherited from CDP::StudioAPI::CDPNode
  • 33 protected variables inherited from CDPComponent
  • 7 protected variables inherited from CDPObject
  • 9 protected variables inherited from CDPBaseObject
  • 1 static protected member inherited from CDPObject

Detailed Description

The PortDEMUX component is a demultiplexer for CDPPort objects where Index=0 selects the first output port and propagates the connection or data from input port to the selected output port.

PortDEMUX is useful when one needs to switch a single CDPPort into one of the multiple candidates that may use such a port.

PortDEMUX supports any CDPPort object. Both code-ports and proxy-ports are suitable for PortDEMUX usage. Port types used in the demultiplexer should be compatible, allowing any output port to connect to the selected input port. When demultiplexer Index changes, the port reconnection will occur. With code-based ports containing all the data properties, data is propagated without actually connecting the ports starting the same cycle the Index changes.

Signals

SignalDescription
IndexOutput port selection where value '0' selects the first added output port for input port connection. Overflow Index values will always fall back to the last output port.

Properties

PropertyDescription
NoSwitchDelayIs set runtime when Ports in multiplexer all have local data properties and no-delay switching is possible.

Member Function Documentation

PortDEMUX::~PortDEMUX()

Destroys the instance of PortDEMUX.

[override virtual] void PortDEMUX::Configure(const char *componentXML)

[override virtual] void PortDEMUX::Create(const char *fullName)

[override virtual] void PortDEMUX::CreateModel()

[override virtual] void PortDEMUX::ProcessNull()

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

Follow CDP

    © Copyright 2021 CDP Technologies. Privacy and cookie policy.

    Return to top