From OpenSCADAWiki
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.