Sutron Corporation X-Link Operations & Maintenance Manual, Rev 1.63 5/24/2016 pg. 164
DATA
This is data collected and logged by X-Link through
measurements. Only logged data may be transmitted. If
Tx
Data Content
is set to
Exclude,
no data from that measurement
will be transmitted.
Like the binary formats, the SHEF format groups all the related
data from one measurement. The data is transmitted in ASCII
with sign and decimal point (if needed). If a data value has not
yet been recorded (or has been erased) the letter M for missing
data will be sent. The most recent data is always sent first. The
number of values sent for each measurement is set on a
measurement by measurement basis.
16.8.1.
SHEF Example
Here is a message with three active measurements. Each is set to include two
readings. The random buffer contains the string EXT. This string was given by an
external device through the RS232 port. Notice how much longer this message is
compared to the earlier binary examples.
:HG 3 #15 10.20 10.15 :PC 1 #15 50 49 :TA 0 #15 -22.1 -22.0 :VB 0 12.2
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | +- VB Reading
| | | | | | | | | | | | | | | | + -- Offset time
| | | | | | | | | | | | | | | +------ Label, VB
| | | | | | | | | | | | | | +------------- TA #2
| | | | | | | | | | | | | +------------------- TA #1
| | | | | | | | | | | | +---------------------- Interval
| | | | | | | | | | | +------------------------- Offset time
| | | | | | | | | | +---------------------------- Label, TA
| | | | | | | | | +-------------------------------- PC #2
| | | | | | | | +----------------------------------- PC #1
| | | | | | | +-------------------------------------- Interval
| | | | | | +----------------------------------------- Offset time
| | | | | +-------------------------------------------- Label, PC
| | | | +--------------------------------------------------- HG #2
| | | +--------------------------------------------------------- HG #1
| | +------------------------------------------------------------ Interval
| +--------------------------------------------------------------- Offset time
+------------------------------------------------------------------ Label, HG
In the example above
:HG 3 #15 10.20 10.15
means that the sensor labeled HG
read the value 10.20 three minutes prior to the start of the transmission. It read
10.15 18 minutes before the start of the transmission, or 15 minutes before it
read 10.20.
SHEFFIX is a modified version of SHEF where the data is positioned in fixed
spacing so that it will line up better when displayed. Each measurement reading
is given seven bytes. If a reading uses fewer bytes it is padded with spaces.
SHEIFIX transmissions are larger than SHEF transmissions.
16.8.1.1.
SHEFFIX Example
:STAGE 0 #2 20.50 20.50 20.50 20.50 :PRECIP 3 #5 12.00 12.01 :TEMP 3 #5 23.5 23.2 :BV
1 #3 14