A-1
Appendix A. Importing Short Cut Code
This tutorial shows:
•
How to import a
Short Cut
program into a program editor for
additional refinement
•
How to import a wiring diagram from
Short Cut
into the comments of
a custom program
Short Cut
creates files that can be imported into either
CRBasic Editor
. These
files normally reside in the C:\campbellsci\SCWin folder and have the
following extensions:
•
.DEF (wiring and memory usage information)
•
.CR6 (CR6 datalogger code)
•
.CR1 (CR1000 datalogger code)
•
.CR8 (CR800 datalogger code)
•
.CR3 (CR3000 datalogger code)
•
.CR2 (CR200(X) datalogger code)
•
.CR5 (CR5000 datalogger code)
Use the following procedure to import
Short Cut
code into
CRBasic Editor
(CR6, CR1000, CR800, CR3000, CR200(X), CR5000 dataloggers).
1. Create the
Short Cut
program following the procedure in Section
(p. 2)
. Finish the program and exit
Short Cut
. Make note of the
file name used when saving the
Short Cut
program.
2. Open
CRBasic Editor
.
3. Click
File
|
Open
. Assuming the default paths were used when
Short Cut
was installed, navigate to C:\CampbellSci\SCWin folder. The file of
interest has a “.CR6”, “.CR1”, “.CR8”, “.CR3”, “.CR2”, or “.CR5”
extension, for CR6, CR1000, CR800, CR3000, or CR5000 dataloggers,
respectively. Select the file and click
Open
.
4. Immediately save the file in a folder different from \Campbellsci\SCWin,
or save the file with a different file name.
Once the file is edited with
CRBasic Editor
,
Short Cut
can no
longer be used to edit the datalogger program. Change the name
of the program file or move it, or
Short Cut
may overwrite it next
time it is used.
5. The program can now be edited, saved, and sent to the datalogger.
6. Import wiring information to the program by opening the associated .DEF
file. Copy and paste the section beginning with heading “-Wiring for
CRXXX–” into the CRBasic program, usually at the head of the file.
After pasting, edit the information such that a
'
character (single quotation
mark) begins each line. This character instructs the datalogger compiler to
ignore the line when compiling the datalogger code.
NOTE
Содержание 110PV
Страница 2: ......
Страница 6: ......
Страница 26: ...110PV Surface Temperature Probe 18 ...
Страница 28: ......
Страница 34: ...Appendix C Probe Material Properties C 2 ...
Страница 35: ...Appendix C Probe Material Properties C 3 ...
Страница 36: ...Appendix C Probe Material Properties C 4 ...
Страница 37: ......