From OpenSCADAWiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
'''Templates/definitions:''' | '''Templates/definitions:''' | ||
− | * ''NSTR_BUF_LEN'' — | + | * ''NSTR_BUF_LEN'' — length of string buffers for numbers (50 symbols); |
− | * ''CFG_A_LEN'' — | + | * ''CFG_A_LEN'' — maximum attribute size of the configuration cell in XML (100 symbols); |
− | * ''DAQ_APER_FRQ'' — | + | * ''DAQ_APER_FRQ'' — frequency of representing the aperiodic invokes, like to "f_start", of the periodic processes in Hz (1000000); |
− | * ''RECURS_DET_HOPS'' — | + | * ''RECURS_DET_HOPS'' — hops/depth number of the recursion detection; |
− | * ''ARCH_BUF'' — | + | * ''ARCH_BUF'' — name of requesting the messages buffer ("<buffer>"); |
− | * ''ARCH_ALRM'' — | + | * ''ARCH_ALRM'' — name of requesting the actual alarms table ("<alarms>"); |
− | * ''ARCH_ALRM_CH'' — | + | * ''ARCH_ALRM_CH'' — name of requesting for records change of the the actual alarms table ("<alarmsChange>"); |
− | * ''ARCH_NOALRM'' — | + | * ''ARCH_NOALRM'' — name of requesting for the buffer and archivers and without the actual alarms table ("<noalarms>"); |
− | * ''DB_GEN'' — | + | * ''DB_GEN'' — code name of the Generic Storage ("<gen>"); |
− | * ''DB_CFG'' — | + | * ''DB_CFG'' — code name of the Configuration File ("<cfg>"); |
− | * ''DB_NULL'' — | + | * ''DB_NULL'' — mark of the DB NULL value ("<NULL>"); |
− | * ''__func__'' — | + | * ''__func__'' — the full name of the calling function; |
− | * ''vmin (a,b)'' — | + | * ''vmin (a,b)'' — determination of the minimum value; |
− | * ''vmax (a,b)'' — | + | * ''vmax (a,b)'' — definition of the maximum value; |
+ | * ''starts_with(str)'' — link to STL::String function ''compare(0,strlen(str),str) == 0'' to replace ''compare()'' and ''find()'' in this role. |
Latest revision as of 18:10, 16 July 2025
Templates/definitions:
- NSTR_BUF_LEN — length of string buffers for numbers (50 symbols);
- CFG_A_LEN — maximum attribute size of the configuration cell in XML (100 symbols);
- DAQ_APER_FRQ — frequency of representing the aperiodic invokes, like to "f_start", of the periodic processes in Hz (1000000);
- RECURS_DET_HOPS — hops/depth number of the recursion detection;
- ARCH_BUF — name of requesting the messages buffer ("<buffer>");
- ARCH_ALRM — name of requesting the actual alarms table ("<alarms>");
- ARCH_ALRM_CH — name of requesting for records change of the the actual alarms table ("<alarmsChange>");
- ARCH_NOALRM — name of requesting for the buffer and archivers and without the actual alarms table ("<noalarms>");
- DB_GEN — code name of the Generic Storage ("<gen>");
- DB_CFG — code name of the Configuration File ("<cfg>");
- DB_NULL — mark of the DB NULL value ("<NULL>");
- __func__ — the full name of the calling function;
- vmin (a,b) — determination of the minimum value;
- vmax (a,b) — definition of the maximum value;
- starts_with(str) — link to STL::String function compare(0,strlen(str),str) == 0 to replace compare() and find() in this role.