![Campbell SDMS40 Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/campbell/sdms40/sdms40_product-manual_3916973028.webp)
Appendix A. Importing Short
Cut code into CRBasic Editor
This tutorial shows:
l
Importing a Short Cut program into a program editor for additional refinement
l
Importing a wiring diagram from Short Cut into the comments of a custom program
Short Cut creates files, which can be imported into CRBasic Editor. Assuming defaults were used
when Short Cut was installed, these files reside in the C:\campbellsci\SCWin folder:
l
.DEF (wiring and memory usage information)
l
.CR2 (CR200(X)-series datalogger code)
l
.CR300 (CR300-series datalogger code)
l
.CR6 (CR6-series datalogger code)
l
.CR8 (CR800-series datalogger code)
l
.CR1 (CR1000 datalogger code)
l
.CR1X (CR1000X-series datalogger code)
l
.CR3 (CR3000 datalogger code)
l
.CR5 (CR5000 datalogger code)
Import Short Cut code and wiring diagram into CRBasic Editor:
1. Create the Short Cut program following the procedure in
(p. 2). Finish the
program. On the Advanced tab, click the CRBasic Editor button. The program opens in
CRBasic with the name noname.CR_. Provide a name and save the program.
NOTE:
Once the file is edited with CRBasic Editor, Short Cut can no longer be used to edit the
program it created.
2. The program can now be edited, saved, and sent to the data logger.
3. Import wiring information to the program by opening the associated .DEF file. By default, it
is saved in the c:\campbellsci\SCWin folder. 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 an apostrophe (') begins each line. This
character instructs the data logger compiler to ignore the line when compiling. You can
SDMS40 Multipoint Scanning Snowfall Sensor
22