Page
180
of
248
16.7
Sutron Standard CSV
Logs downloaded from the station will be in the Sutron Standard CSV format. It is possible to transmit data
in the CSV format. However, CSV messages are large compared to SHEF and Pseudobinary.
The format was introduced in 2009 and is common to current Sutron products. The general format
specification for Sutron Standard CSV format is
mm/dd/yyyy,hh:mm:ss,label,data[,units,qual][,label,data[,units,qual]]
16.7.1
Sutron Standard CSV Example
04/02/2012,09:23:45,STAGE,20.50
04/02/2012,09:23:50,STAGE,20.50
04/02/2012,09:23:53,Setup Change
04/02/2012,09:24:00,BV,14
04/02/2012,09:25:00,PRECIP,34.5
04/02/2012,09:25:00,TEMP,23.5
04/02/2012,09:25:00,STAGE,20.54
16.8
MIS
MIS
format is a verbose ASCII format that uses tags. Each measurement gets its own section in MIS.
The header includes the station name and the measurement label. The body includes a timestamp and a
value for each sensor reading.
The example below illustrates the MIS format for one measurement. If more than one measurement
were being transmitted, each measurement would have a section like the one below.
<STATION>000DOLPHIN</STATION><SENSOR>00PR</SENSOR><DATEFORMAT>YYYY/MM/DD</D
ATEFORMAT>
2017/05/24;111500;82.03
2017/05/24;110000;82.04
2017/05/24;104500;83.11
2017/05/24;103000;83.14
In that example
STATION and SENSOR and DATEFORMAT are tags that are always present.
000DOLPHIN is based on the Station Name which was set to DOLPHIN. The 000 are padding to fill
out to 10 bytes. If the Station Name were longer than 10 bytes, only the first 10 would be in the
STATION tag.
00PR is based on the measurement Label, which was set to PR. 00 is padding to fill out to 4 bytes.
Up to 4 bytes of the Label can fit into the SENSOR tag.
YYYY/MM/DD is the user set Date Format setting.
111500 is the timestamp in HHMMSS format which is 11:15:00
Содержание SUTRON XLINK 100
Страница 1: ...Operations Maintenance Manual SUTRON XLINK 100 500 Part No 8800 1217 Rev 8 44 4 January 14 2022...
Страница 230: ...Page 230 of 248...
Страница 247: ...Page 247 of 248...