XLINK 500/100 Operations & Maintenance Manual page # 178
changes in the reply, the file has changed and the get should be restarted. If a reply is missing,
the master station must request the data again.
start should be the same value as startpos in the Get File command.
The numbytes value in the GFR response does not include the comma preceding the
data and refers to the number of data bytes from the file that are being returned,
not the number of packet bytes used to store the response (which would be twice
the number of data bytes when ASCII protocol is selected).
data is the data payload. It is the file data requested by the Get File command. There are
numbytes bytes of data.
Current data
Request the file "curdata.txt" and the station will reply with last measured sensor data. The
reply is very similar to what is found in LinkComm's Data tab. The format is
MM/DD/YYYY,HH:MM:SS,Label,Value,Units,Quality
Each line is terminated by a
CR/LF. Date and Time are expressed as in “01/31/2004” and
“20:47:52”, respectively.
Quality is a single character defining the qualit
y of the data where “G”
= Good and
“B” = Bad
Below is an example:
M1 BATT, 12.190, 2017/03/16 17:11:10,
M2 TEMP, 24.00, 2017/03/16 17:11:10,
M3 MINO, 1032, 2017/03/16 17:11:10,
Note that if no measurements are enabled, GF commands for sensors.txt and curdata.txt will
return errors.
Status information
If the file "status.txt" is asked for, the data returned will be similar to what LinkComm shows on
the Main Status and on Telemetry Status.
Sensor data
Access recent measurements and setup details by asking for the file "sensors.txt". The data in the
file will describe the measurement setup along with the most recent readings. The data mimic's
Sutron 9210's sensor view. Tab characters are used to denote column breaks. Each line is
terminated by a CR/LF.
BATT Battery = 0.000 V; Q = B
TEMP Internal Temp = 0.00 C; Q = B
MINO Manual Entry = 0; Q = B
Note that if no measurements are enabled, GF commands for sensors.txt and curdata.txt will
return errors.
Setup
The station setup may be read by asking for "setup.txt". The data returned will be exactly the
same as that of a saved LinkComm setup file.