How can I send (transmit) on more than one channel (COM port, TCP) at the same time? How can I receive data from multiple COM ports / multiple connections?

How can I send (transmit) on more than one channel (COM port, TCP) at the same time? How can I receive data from multiple COM ports / multiple connections?

Applies to: Docklight Scripting, Article ID: dl_faq036

Docklight Scripting V2.3 or higher supports and additional communication channels, as an extension of the regular RX/TX Send/Receive mode.

The required methods for multichannel applications are DL.OpenSideChannel, DL.CloseSideChannel and DL.DirectSend.

See below for the related documentation in the user manual and an example.

Docklight Scripting Manual – Side Channels – Using Multiple Data Connections

SideChannel_Example.zip – Docklight Scripting multichannel demo