• 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
  • PortMUX
  • 4.10.7

PortMUX Class

The PortMUX component is a multiplexer for CDPPort objects where Index=0 selects the first input port and propagates the connection or data in the port when possible to the output port. More...

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

Public Functions

~PortMUX() 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 PortMUX component is a multiplexer for CDPPort objects where Index=0 selects the first input port and propagates the connection or data in the port when possible to the output port.

PortMUX is useful when one needs to switch between different CDPPorts coming into your component to change the source of control values or data utilized.

PortMUX supports any CDPPort object. Both code-ports and proxy-ports are suitable for PortMux usage. Port types used in the multiplexer should be compatible, allowing any input port to connect to the output port. When multiplexer 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.

To setup PortMUX multiple input ports and only one output port should be added to the multiplexer.

Signals

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

Properties

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

Member Function Documentation

PortMUX::~PortMUX()

Destroys the instance of PortMUX.

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

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

[override virtual] void PortMUX::CreateModel()

[override virtual] void PortMUX::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