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.123” CRLF
The acknowledgment message is the same as for the RTMS format. The
acknowledgment for the above record would be:
Lgr,Sec15,123456
11-21
Содержание LoggerNet
Страница 2: ......
Страница 30: ...Preface What s New in LoggerNet 4 xxvi...
Страница 32: ...Section 1 System Requirements 1 2...
Страница 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Страница 136: ...Section 4 Setting up Datalogger Networks 4 80...
Страница 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Страница 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Страница 402: ...Section 9 Automating Tasks with Task Master 9 12...
Страница 406: ...Section 9 Automating Tasks with Task Master 9 16...
Страница 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Страница 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Страница 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Страница 482: ...Section 14 Troubleshooting Guide 14 20...
Страница 570: ...Appendix F Calibration and Zeroing F 16...
Страница 578: ...Appendix G Importing Files into Excel G 8...
Страница 579: ......