Section 9. Datalogger Program Creation with CRBasic Editor
The
Select the destination
list shows all dataloggers configured within
LoggerNet, PC400, or RTDAQ that may receive a program matching the
extension of the current CRBasic
program to be sent. Assume, for example,
that you have three CR1000s and some other dataloggers defined. When you
send a *.CR1 program, this screen will show only the three CR1000
dataloggers. Any other dataloggers will be excluded from the list in this case,
even when they are defined in the network map, because those dataloggers are
not associated with *.CR1 programs. A program with the extension of .DLD
will be associated with all CRBasic-programmed datalogger types.
Select the datalogger to send the file to, and then select the Run Options.
Run Now
The Run Now run options are different for the different datalogger types.
CR1000/CR3000/CR800 Datalogger Run Now Options
When Run Now is checked, the file will be sent with the Run Now attribute
set. With this attribute, the program is compiled and run in the datalogger. You
may choose to preserve existing data tables on the datalogger's CPU if there
has been no change to the data tables (
Preserve data if no table changed
) or
to delete data tables on the CPU that have the same name as tables declared in
the new program (
Delete associated data tables
).
Neither of these options affects existing data files on a card
if one is being used. If a data table exists on the card that
has the same name as one being output with the new
program, the message will be returned "Data on Card is
from a different program or corrupted".
Data will not be
written to the card until the existing table is deleted.
Data tables on the card that have different names than
those declared in the new program will be maintained and
will not affect card data storage when the new program is
running.
CAUTION
When using the
Preserve data if no table changed
option, existing data and
data table structures are retained unless one of the following occurs:
•
Data table name(s) change
•
Data interval or offset change
•
Number of fields per record change
•
Number of bytes per field change
•
Number of records per table (table size) change
•
Field type, size, name, or position change
To summarize, any change in data table structure will delete all tables on the
datalogger's CPU, regardless of whether or not the Preserve Data option was
chosen. If the Preserve Data option was chosen but the datalogger was unable
to retain the existing data, the following message will appear in the Compile
Results: Warning: Internal Data Storage Memory was re-initialized.
9-9
Summary of Contents for PC400
Page 2: ......
Page 16: ...Section 1 Introduction 1 6...
Page 18: ...Section 2 System Requirements 2 2...
Page 46: ...Section 4 The PC400 Main Screen 4 24...
Page 49: ...Section 5 Split 5 3...
Page 82: ...Section 5 Split 5 36...
Page 114: ...Section 6 View 6 14...
Page 132: ...Section 7 Short Cut Program Generator 7 18...
Page 188: ...Section 9 Datalogger Program Creation with CRBasic Editor 9 30...
Page 230: ...Appendix B Table Based Dataloggers B 12...
Page 249: ......