TableFile() instruction optionally includes timestamps in some formats.
Record Element 2 – Record Number
Record numbers are optionally provided in some formats as a means to
ensure data integrity and provide an up-count data field for graphing
operations. The maximum record number is &hffffffff (a 32-bit number),
then the record number sequence restarts at zero. The CR1000 reports back
to the datalogger support software 31 bits, or a maximum of &h7fffffff, then
it restarts at 0. For example, if the record number increments once a second,
restart at zero will occur about once every 68 years (yes, years).
8.3.3 Resetting the CR1000
A reset is referred to as a "memory reset." Be sure to backup the current CR1000
configuration before a reset in case you need to revert to the old settings.
The following features are available for complete or selective reset of CR1000
memory:
• Full memory reset
• Program send reset
• Manual data-table reset
• Formatting memory drives
8.3.3.1 Full Memory Reset
Full memory reset occurs when an operating system is sent to the CR1000 using
DevConfig or when entering 98765 in the Status table field FullMemReset. A
full memory reset does the following:
• Clears and formats CPU: drive (all program files erased)
• Clears SRAM data tables
• Clears Status-table elements
• Restores settings to default
• Initializes system variables
• Clears communication memory
• Recompiles current program
Full memory reset does not affect the CRD: drive directly. Subsequent user
program uploads, however, can erase CRD:.
Operating systems can also be sent using the program Send feature in datalogger
support software
(p. 95). A full reset does not occur in this case. Beginning with
CR1000 operating system v.16, settings and registers in the Status table are
preserved when sending a subsequent operating system by this method; data
tables are erased. Rely on this feature only with an abundance of caution when
sending an OS to CR1000s in remote, expensive to get to, or difficult-to-access
locations.
8.3.3.2 Program Send Reset
Final-memory (p. 515) data are erased when user programs are uploaded, unless
preserve / erase data options are used. Preserve / erase data options are presented
when sending programs using File Control Send
(p. 515) command and CRBasic
381