From OpenSCADAWiki
Jump to: navigation, search

User programming API

Due to the support of the logical type parameters, it makes sense to provide a number of functions of the user API for calling them from the template of the logical parameter.

The object "Controller" [this.cntr()]

  • ElTp value( string addr, ElTp setVl = NULL ) — direct accessing a value-node with registering for acquisition.
    • addr — the value-node address in the standard format;
    • setVl — setting value, NULL (not specified) only for getting.