Campbell-scientific LoggerNet Datalogger Support Software Manual de usuario Pagina 449

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 580
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 448
Section 11. Utilities Installed with LoggerNet Admin and LoggerNet Remote
11.4.6 Standard Format Description
The following is an EBNF syntax of a new record format that we have
developed that we believe is more digestible than the pseudo-SQL syntax that
is in the original protocol:
outputRec = recordHeader { “,” fieldName “,” fieldType “,” fieldValue } “\r\n”.
recordHeader = stationName “,tableName “,” timeStamp “,” recNo.
FieldName = string.
FieldType = (TIMESTAMP| decimalType | FLOAT| INTEGER| varCharType ).
FieldValue = string.
StationName = string.
TableName = string.
TimeStamp = “\”“ year “–” month “–” day “ “ hour “:” minute “:” second “\”“.
RecNo = “\”“ digit {digit} “\”“.
Year = 4(digit).
Month = 2(digit). ; 0 < month <= 12
day = 2(digit). ; 0 < day <= 31
hour = 2(digit). ; 0 <= hour < 60
minute = 2(digit). ; 0 <= minute < 60
second = 2(digit) [“.”] {digit}. ; 0.0 <= second < 60.0
string = “\”“ {ascii_character} “\”“.
DecimalType = DECIMAL(digit [digit] “,” digit [digit] “)”.
VarCharType = VARCHAR(digit {digit} “)”.
Within a string, quotation marks and back slash characters will be quoted with
a backslash character.
The sample record from the original protocol would have the following format
under this new syntax:
“Lgr”,”Sec15”,”1993-12-08 15:02:00”,”123456”,”Battery_V”,”FLOAT,
13.5”,”Temp”,”FLOAT”,”72.123CRLF
The acknowledgment message is the same as for the RTMS format. The
acknowledgment for the above record would be:
Lgr,Sec15,123456
11-21
Vista de pagina 448
1 2 ... 444 445 446 447 448 449 450 451 452 453 454 ... 579 580

Comentarios a estos manuales

Sin comentarios