Specifications

Table Of Contents
OPERATIONS
Page 88 MRC-565 Packet Data Radio Operations & Maintenance
WIND_DIR -nan
RH 100.00000
BARO_PRES -1.67392
ENCL_RH -43.71719
BARO_HG 8.62277
LBatt 0.00000
CSI_R 308.10001
DEW_PT -37.50831
SVP 0.02434
PVP 0.02434
Sthpv -nan
NetRad 8.51829
NetRad_cor 8.51829
WS_MS 0.00000
Scratch1 0.00000
Scratch2 0.00000
Scratch3 0.00000
5.8.16 Downloading a Program
A new or revised CR1000 internal program can be transmitted to a radio which will then
download it to the CR1000 and tell the CR1000 to compile and run it. The program source, in
".CR1" format must be copied into a message (or multiple messages if longer than 3500 bytes)
that starts with "$CR10X,DL,xx,yy," as the first 18 characters followed by the source text. "xx"
is the message fragment sequence number with a leading zero and "yy" is the total number of
fragments with a leading zero. Note: the last character must be a comma following the message
fragment identifiers. The “$CR10X” type string must be used even though the actual data logger
may be either a CR10X or a CR1000. The radio software will handle the download in the proper
way for whichever logger is ASSIGNed to the port at the time.
The maximum message file length including the 18 character header must be no greater than
3500 characters. If the file length is larger than this, it can be reduced in length by editing it to
remove comment lines and blank lines, or made into multiple fragmented messages. When a
radio, with a device driver assigned to the CR1000, receives the message in this format the
message will be sent to the CR1000. The CR10TD will compile the new program and begin
execution. A status message will be returned to the unit that originated the download message
indicating whether the compilation was successful or not.
WARNING:
The 565 radio software does not have a way to get the filename from Xtermw at the time of the
download so there can only be one program in the data logger memory at a time. Its name will be
“CPU:CR1000.CR1” by default. When the program is downloaded all of the previous final
storage data records will be deleted. This must be done to ensure the data records exactly match
the table definitions of the new program, and there is no easy way to determine whether the
tables are the same or not from the source code at the time it is downloaded.
If Xtermw is used to send the message file, each fragment’s filename must use the ".MSG"
extension. The Xtermw main popup menu can send the file using the "Send/Message File" menu
option. Xtermw also has a "CR10X FILE DOWNLOAD" option in the "SEND" menu that
should NOT be used because most versions of Xtermw do not properly operate that transaction.