Campbell CR200 Manual del operador Pagina 104

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 210
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 103
Section 9. Programming
9.11 Program Access to Data Tables
CRBASIC has syntax provisions facilitating access to data in tables or
information relating to a table. The syntax is entered directly into the CRBASIC
program through a variable name. The general form is:
"TableName.FieldName_Prc (Fieldname Index, Records Back)".
Where:
TableName: name of the data table
FieldName: name of the variable from which the processed value is derived
Prc: Abbreviation of the name of the data process used. See TABLE.
Abbreviations of Names of Data Processes p. 90 for a complete list of these
abbreviations-not needed for values from Status or Public tables.
Fieldname Index: Array element number (optional)
Records Back: How far back into the table to go to get the value (optional)
Table 12. Abbreviations of Names of Data
Processes
Abbreviation Process Name
Tot Totalize
Avg Average
Max Maximum
Min Minimum
Std Standard Deviation
Sample
WVc WindVector
ETsz ET
RSo Solar Radiation (from ET)
TMx Time of Max
TMn Time of Min
For instance, to access the number of watchdog errors, use the
"Status.WatchDogCnt," where "Status" is the table name, and "WatchDogCnt"
is the field name.
90
Vista de pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 209 210

Comentarios a estos manuales

Sin comentarios