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 the
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. After saving the
Short Cut
program, click the Advanced tab
then the CRBasic Editor button. A program file with a generic name will open in CRBasic.
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 it created.
2. To add the
Short Cut
wiring information into the new CRBasic program, open the .DEF file
located in the C:\campbellsci\SCWin folder, and copy the wiring information, which is at
the beginning of the .DEF file.
3. Go into the CRBasic program and paste the wiring information into it.
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
.
109SS Temperature Probe
12