From OpenSCADAWiki
Revision as of 10:03, 29 April 2025 by FuzzyBot (Talk | contribs) (Importing a new version from external source)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Subsystem "Transports" (SYS.Transport)

Functions of the subsystem object:

  • TCntrNodeObj outAt( string addr ); — common-unified output transport connection at the address addr. At errors of creation the transport the function will return "false" when a correct node in it conversion to BOOLEAN will return "true". The address is specified in the forms:
"{TrModule}.[out_]{TrID}[:{TrAddr}]" — typical output with automatic creation TrID at it missing and allowing TrAddr;
"{TrModule}.in_{TrID}:{RemConId}" — initiative input with the connection identifier in RemConId.
  • TrModule — transport module, as is Sockets, SSL, Serial;
  • TrID — transport identifier;
  • TrAddr — transport specific address;
  • RemConId — remote initiative connection ID.