Appendix A. Importing
Short
Cut
code into
CRBasic Editor
Short Cut
creates a .DEF file that contains wiring information and a program file that can be
imported into
CRBasic Editor
. By default, these files reside in the C:\campbellsci\SCWin folder.
Import
Short Cut
program file and wiring information into
CRBasic Editor
:
1. Create the
Short Cut
program, then save it. Click the Advanced tab then the CRBasic Editor
button. Your program file will open in CRBasic with a generic name. Provide a meaningful
name and save the CRBasic program. This program can now be edited for additional
refinement.
NOTE:
Once the file is edited with
CRBasic Editor
,
Short Cut
can no longer be used to edit the
program.
2. To add the
Short Cut
wiring information into the new CRBasic program, open the .DEF file
located in the C:\campbellsci\SCWin folder. Copy the wiring information found at the
beginning of the .DEF file.
3. Go into the CRBasic program and paste the wiring information at the beginning of the
program.
4. In the CRBasic program, highlight the wiring information, right-click, and select Comment
Block. This adds an apostrophe (') to the beginning of each of the highlighted lines, which
instructs the data logger compiler to ignore those lines when compiling. The Comment
Block feature is demonstrated at about 5:10 in the
video
.
TempVue 20 SDI-12 PT-100 Class A, Precision Air Temperature Sensor
19