From OpenSCADAWiki
Revision as of 09:02, 16 July 2022 by FuzzyBot (Talk | contribs) (Importing a new version from external source)

Jump to: navigation, search

Functions of the input transport object (SYS.Transport["Modul"]["in_Transp"]):

  • ElTp cfg( string nm ) — gets the value of the configuration field nm of the object.
  • bool cfgSet( string nm, ElTp val ) [access to the appropriate subsystem] — sets the configuration field nm of the object to the value val.
  • string status() — string status of the transport.
  • string addr( string vl = "" ) — address of the transport, sets the non-empty value vl.
  • string writeTo(string sender, string mess) — sends the message mess to the sender sender, as a reply.
  • TArrayObj associateTrsList() — associated output transports list to that input one.
  • TCntrNodeObj associateTr( string id ) — getting the associated transport at that connection id.