From OpenSCADAWiki
Jump to: navigation, search

User programming API

Some objects of the module provides functions for user's programming.

User object model of the module BlockCalc.

The object "Block" (SYS.DAQ.BlockCalc["cntr"]["blk_block"])

  • ElTp cfg( string nm ) — get value of configuration field nm of the object.
  • bool cfgSet( string nm, ElTp val ) [access to the appropriate subsystem] — set configuration field nm of the object to value val.
  • TCntrNodeObj cntr( ) — return the object of controller for the parameter nesting independent.