From OpenSCADAWiki
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.
  • ElTp conPrm( string id, ElTp val = EVAL, string cfg = "" ) — common handling the connection time parameter id with setting to the value val at presence; request for configuration parameter of the connection time with registration at the first time from the configuration cfg in the form "{SRC}\n{NAME}\n{HELP}".
  • bool setConPrm( string id, ElTp val ) — setting the connection time parameter id to the value val, only for compatibility.