From OpenSCADAWiki
Jump to: navigation, search

Loading and saving of the properties specified in the TConfig object, to/from the storage is made with the following command:

SYS->db().at().dataGet(fullDB(),owner().nodePath()+"DAQ",*this);
SYS->db().at().dataSet(fullDB(),owner().nodePath()+"DAQ",*this);

Where:

  • fullDB() — the full name of the database-storage in the form: "{DBMod}.{DBName}.{Table}";
  • owner().nodePath()+"DAQ" — total path to the node of the object-representative of the table in the configuration file
  • *this — this object, inherited from the TConfig.