background image

 

A-1 

Appendix A.  Importing Short Cut Code 
Into CRBasic Editor 

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, 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: 

 

.DEF (wiring and memory usage information) 

 

.CR2 (CR200(X)-series datalogger code) 

 

.CR300 (CR300-series datalogger code) 

 

.CR6 (CR6-series datalogger code) 

 

.CR8 (CR800-series datalogger code) 

 

.CR1 (CR1000 datalogger code) 

 

.CR3 (CR3000 datalogger code) 

 

.CR5 (CR5000 datalogger code) 

 

.CR9 (CR9000(X) datalogger code) 

Use the following procedure to import 

Short Cut

 code and wiring diagram into 

CRBasic Editor

1.  Create the 

Short Cut

 program following the procedure in Section 

4

QuickStart

 

(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 the .CR2, .CR300, .CR6, .CR8, .CR1, .CR3, .CR5, or .CR9 
extension. Select the file and click 

Open

4.  Immediately save the file in a folder different from 

C:\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 an apostrophe (

'

) begins each line. 

This character instructs the datalogger compiler to ignore the line when 
compiling. 

NOTE 

Summary of Contents for TB4

Page 1: ...INSTRUCTION MANUAL TB4 and TB4MM Rain Gages Revision 4 16 C o p y r i g h t 1 9 9 5 2 0 1 6 C a m p b e l l S c i e n t i f i c I n c...

Page 2: ......

Page 3: ...ucts to CSI CSI will return such Products by surface carrier prepaid within the continental United States of America To all other locations CSI will return such Products best way CIP port of entry per...

Page 4: ...g container Campbell Scientific s shipping address is CAMPBELL SCIENTIFIC INC RMA _____ 815 West 1800 North Logan Utah 84321 1784 For all returns the customer must fill out a Statement of Product Clea...

Page 5: ...beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit cl...

Page 6: ......

Page 7: ...tion 6 7 3 Siting 7 7 4 Mounting 7 7 5 Leveling 8 8 Troubleshooting and Maintenance 9 8 1 Troubleshooting 9 8 2 Maintenance 10 8 2 1 Dismantling for Cleaning 10 8 2 2 Reassembling the TB4 13 8 3 Calib...

Page 8: ...of the TB4 9 8 1 Components of TB4 Base 10 8 2 Dismantling the Filter Siphon Assembly 11 8 3 Filter Siphon Assembly 12 8 4 Reassembling the TB4 13 Table 7 1 Wire Color Wire Function Datalogger Connec...

Page 9: ...e precision instruments Please handle them with care The black outer jacket of the cable is Santoprene rubber This compound was chosen for its resistance to temperature extremes moisture and UV degrad...

Page 10: ...datalogger wiring terminals Short Cut is available as a download on www campbellsci com and the ResourceDVD It is included in installations of LoggerNet PC200W PC400 or RTDAQ Use the following proced...

Page 11: ...Rain box and selecting one of the other options The default rainfall per tip value of 0 01 inches should be used if the sensor is a TB4 purchased at Campbell Scientific U S office Select 0 2 mm if the...

Page 12: ...tips and activates a reed switch The switch closure is recorded by the datalogger pulse channel When the bucket tips the water drains out the screened fittings in the base of the gage The rain gages...

Page 13: ...ial The 260 953 Alter Type Wind Screen s siting information and installation procedure are provided in our 260 953 manual 7 1 Wiring Connections to Campbell Scientific dataloggers are given in TABLE 7...

Page 14: ...fter they are imported and edited in CRBasic Editor A Short Cut tutorial is available in Section 4 QuickStart p 2 If you wish to import Short Cut code into CRBasic Editor to create or add to a customi...

Page 15: ...surface Each pad includes a hole that fits a 3 8 inch M8 bolt The three holes form a 234 mm 9 21 in diameter bolt circle Campbell Scientific offers the CM240 mounting bracket for installing and leveli...

Page 16: ...emove the housing assembly from the base by loosening the three housing screws and lifting the housing upward 2 Adjust the three leveling screws on the CM240 bracket to level the gage FIGURE 7 4 A bul...

Page 17: ...tion of Hazardous Material and Decontamination form Refer to the Assistance page at the beginning of this manual for more information 8 1 Troubleshooting Symptom No Precipitation 1 Check that the sens...

Page 18: ...ach bucket tip 8 2 1 Dismantling for Cleaning The following items should be checked regularly for cleanliness Filter FIGURE 8 3 Siphon FIGURE 8 3 Tipping bucket assembly FIGURE 8 1 Top surface of adju...

Page 19: ...pulling the siphon see FIGURE 8 2 Do not twist the filter siphon assembly while pushing and pulling FIGURE 8 2 Dismantling the Filter Siphon Assembly CAUTION Do not twist while pushing and pulling Pu...

Page 20: ...y doing the following FIGURE 8 3 a Unscrew nut b Lightly press stem down on surface until stem pops out of siphon body c Remove stem from siphon body d Unscrew cap e Clean all items FIGURE 8 3 Filter...

Page 21: ...assembly while putting it back into place FIGURE 8 4 Reassembling the TB4 5 Place the housing assembly back onto the base and tighten the three screws that secure the housing onto the base 8 3 Calibr...

Page 22: ...314 cc 19 16 in3 of water over a 15 minute period into the collection funnel This volume of water is equal to 39 inches of rainfall 10 mm 4 After the water has passed through the rain gage the tipping...

Page 23: ...ram 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 navig...

Page 24: ......

Page 25: ...ain Gage measurement Rain_mm PulseCount Rain_mm 1 1 2 0 0 254 0 Call Data Tables and Store Data CallTable TB4_mm NextScan EndProg B 1 2 CR200 X Series Pulse Channel Example CRBasic Example B 2 CR200 X...

Page 26: ...0 Min 0 Totalize 1 Rain_mm FP2 0 EndTable Main Program BeginProg Scan 1 Sec 1 0 PulseCount Rain_mm 1 18 2 0 254 0 Black wire connected to C8 CallTable Rain NextScan EndProg B 2 2 CR200 X Series Contro...

Page 27: ......

Page 28: ...ua Apinag s nbr 2018 Perdizes CEP 01258 00 S o Paulo SP BRASIL www campbellsci com br vendas campbellsci com br Campbell Scientific Canada Corp 14532 131 Avenue NW Edmonton AB T5L 4X4 CANADA www campb...

Reviews:

Related manuals for TB4