background image

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

CRBasic | Features

video

.

WindSonic4 Two-Dimensional Sonic Anemometer

14

Summary of Contents for WindSonic4

Page 1: ...02 2020 Copyright 2014 2020 Campbell Scientific Inc ...

Page 2: ...ducts 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 Incoterms 2010 This warranty shall not apply to any Products which have been subjected to modification misuse neglect improper service accidents of nature or shipping damage This warranty is in lieu...

Page 3: ...ping 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 Cleanliness and Decontamination form and comply with the requirements specified in it The form is available from our website at www campbellsci com repair A completed form must be either emailed to repair campbellsci com or faxed to 435 227 9...

Page 4: ...g work l Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers l Do not climb tripods or towers at any time and prohibit climbing by other persons Take reasonable precautions to secure tripod and tower sites from trespassers l Use only manufacturer recommended parts materials and tools Utility and Electrical l You can be kille...

Page 5: ... wiring 8 7 4 Data logger programming 8 7 4 1 Programming 9 8 Operation 10 8 1 Sensor configuration 10 8 2 SDI 12 measurement details 10 8 3 Long cables 11 9 Maintenance and troubleshooting 11 9 1 Troubleshooting 11 9 2 Maintenance 12 10 Siting references 12 Appendix A Importing Short Cut code into CRBasic Editor 14 Appendix B Determining True North and sensor orientation 15 B 1 Online magnetic de...

Page 6: ...and aAb 21 C 1 6 Start measurement commands aM 22 C 1 7 Start concurrent measurement commands aC 22 C 1 8 Start measurement commands with cyclic redundancy check aMC and aCC 24 C 1 9 Stopping a measurement command 24 C 1 10 Send data command aD0 aD9 24 C 1 11 Continuous measurement command aR0 aR9 25 C 2 SDI 12 transparent mode 25 C 2 1 Changing an SDI 12 address 26 C 2 2 Changing an SDI 12 addres...

Page 7: ...ndSonic4 is not recommended for conditions where rime ice or horizontal snow will occur It is not heated l The WindSonic4 is a precision instrument Please handle it with care l If the WindSonic4 is to be installed at heights over 2 m 6 ft be familiar with tower safety and follow safe tower climbing procedures l DANGER Use extreme care when working near overhead electrical wires Check for overhead ...

Page 8: ...ing Short Cut is available at www campbellsci com videos cr1000x datalogger getting started program part 3 Short Cut is an easy way to program your data logger to measure the sensor and assign data logger wiring terminals Short Cut is available as a download on www campbellsci com It is included in installations of LoggerNet RTDAQ PC400 or PC200W The following procedure also shows using Short Cut ...

Page 9: ...4 Click the Wiring tab to see how the sensor is to be wired to the data logger Click OK after wiring the sensor 5 Repeat steps 3 and 4 for other sensors WindSonic4 Two Dimensional Sonic Anemometer 3 ...

Page 10: ...t option 8 Click Finish and save the program Send the program to the data logger if the data logger is connected to the computer 9 If the sensor is connected to the data logger check the output of the sensor in data display in LoggerNet RTDAQ PC400 or PC200W to make sure it is making reasonable measurements WindSonic4 Two Dimensional Sonic Anemometer 4 ...

Page 11: ...he manufacturer s computer support software The cable and software are used during troubleshooting A copy of this computer support software is available at www gill co uk main software html WindView is used for WindSonic4s with serial numbers of 0810001 or greater and WindCom is used for WindSonic4s with serial numbers that are less than 0810001 Features l Low maintenance no moving parts significa...

Page 12: ... programming p 8 Short Cut does this work for you See QuickStart p 2 for a Short Cut tutorial 7 1 Siting Locate the WindSonic4 away from obstructions such as trees and buildings The distance between wind sensors and the nearest obstruction should be ten times the height of the obstruction If it is necessary to mount the WindSonic4 on the roof of a building the height of the sensor above the roofli...

Page 13: ...included pan head screws 4 Attach the tubing to a crossarm using the CM220 Right Angle Mounting Kit see FIGURE 7 1 p 7 5 Mount the crossarm to the tripod or tower 6 Orient the WindSonic4 so that the colored North marker arrows point to True North see FIGURE 7 1 p 7 See Determining True North and sensor orientation p 15 for more information FIGURE 7 1 WindSonic4 mounted on a crossarm 7 Route the se...

Page 14: ...a logger and allows sensors to be connected in a daisy chain fashion that can minimize cable runs in some applications At a 1 Hz measurement rate a maximum of four WindSonic4s can be measured by a data logger For the CR6 and CR1000X triggering conflicts may occur when a companion terminal is used for a triggering instruction such as TimerInput PulseCount or WaitDigTrig For example if the WindSonic...

Page 15: ...ommand Multiplier Offset FillNAN WaitonTimeout For the SDIAddress alphabetical characters need to be enclosed in quotes for example A Also enclose the SDICommand in quotes as shown The most appropriate SDI 12 command to retrieve data from the WindSonic4 is the Ro where o is the data format option Table 7 2 p 9 When using the Ro command the Destination parameter needs to be a variable array with th...

Page 16: ...es an R0 or R1 command When the data logger issues an R0 or R1 command the WindSonic4 immediately begins transmitting the most current wind measurements to the data logger After receiving the R0 or R1 command it takes the WindSonic4 approximately 190 milliseconds 10 milliseconds to transmit the data The WindSonic4 can also use an M0 or M1 command When using an M0 or M1 command the data logger wait...

Page 17: ...ng in either no response from the sensor or corrupted readings 9 Maintenance and troubleshooting NOTE All factory repairs and recalibrations require a returned material authorization RMA and completion of the Declaration of Hazardous Material and Decontamination form Refer to the Assistance p ii page at the beginning of this manual for more information 9 1 Troubleshooting The WindSonic4 outputs a ...

Page 18: ...earing the transducer paths do not remove or damage the rubber caps on the transducers Use a cloth and mild detergent to gently clean the transducers CAUTION Do not use solvents and avoid scratching or damaging the rubber caps If the WindSonic4 is damaged fails to output data or sends a nonzero status number Table 9 1 p 12 return it to Campbell Scientific for repair see Assistance p ii 10 Siting r...

Page 19: ...limatologist 1985 Publication of the American Association of State Climatologists Height and Exposure Standards for Sensors on Automated Weather Stations vol 9 No 4 WMO 1983 Guide to Meteorological Instruments and Methods of Observation World Meteorological Organization No 8 5th edition Geneva Switzerland WindSonic4 Two Dimensional Sonic Anemometer 13 ...

Page 20: ...dditional 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...

Page 21: ... NOAA web calculator Online magnetic declination calculator p 17 A general map showing magnetic declination for the Conterminous United States is shown in FIGURE B 1 p 15 FIGURE B 1 Magnetic declination for the conterminous United States 2015 Declination angles east of True North are considered negative and are subtracted from 360 degrees to get True North as shown FIGURE B 2 p 16 0 and 360 are th...

Page 22: ...McHenry IL 10 June 2006 is 2 68 and True North is 0 2 68 or 2 68 as read on a compass FIGURE B 2 A declination angle east of True North positive is subtracted from 360 0 degrees to find True North FIGURE B 3 A declination angle west of True North negative is subtracted from 0 360 degrees to find True North WindSonic4 Two Dimensional Sonic Anemometer 16 ...

Page 23: ...y entering the Zip Code or the Country and City and then clicking the Get Add Lat Lon button FIGURE B 4 p 17 Click the Calculate button to get the magnetic declination FIGURE B 4 NOAA web calculator FIGURE B 5 p 18 shows that the calculated declination for Logan UT is 11 78 degrees 11 August 2015 The declination for Utah is positive east of north so True North for this site is 360 11 78 or 348 22 ...

Page 24: ...FIGURE B 5 NOAA calculated declination using HTML result format WindSonic4 Two Dimensional Sonic Anemometer 18 ...

Page 25: ...C 1 SDI 12 command basics SDI 12 commands have three components l Sensor address a a single character and the first character of the command Use the default address of zero 0 unless multiple sensors are connected to the same port l Command body an upper case letter the command optionally followed by one or more alphanumeric qualifiers l Command termination an exclamation mark An active sensor resp...

Page 26: ...CR LF 1 Information on each of these commands is given in the following sections C 1 1 Acknowledge active command a The Acknowledge Active command a is used to test a sensor on the SDI 12 bus An active sensor responds with its address C 1 2 Send identification command al Sensor identifiers are requested by issuing command aI The reply is defined by the sensor manufacturer but usually includes the ...

Page 27: ... is available n the number of values to be returned when one or more subsequent D commands are issued C 1 4 Address query command Command requests the address of the connected sensor The sensor replies to the query with the address a This command should only be used with one sensor on the SDI 12 bus at a time C 1 5 Change address command aAb Multiple SDI 12 sensors can connect to a single SDI 12 t...

Page 28: ...tely indicates that it will return two values within the next 35 seconds 0 CR LF Within 35 seconds sensor 0 indicates that it has completed the measurement by sending a service request to the data logger 0D0 The data logger immediately issues the first D command to collect data from the sensor 0 859 3 54 CR LF The sensor immediately responds with the sensor address and the two values C 1 7 Start c...

Page 29: ...diately indicates that it will have 6 06 values ready for collection within the next 40 040 seconds ZC The data logger makes a request to sensor Z to start a concurrent measurement Z02010 CR LF Sensor Z immediately indicates that it will have 10 values ready for collection within the next 20 020 seconds ZD0 After 20 seconds have passed the data logger starts the process of collecting the data by i...

Page 30: ...i 12 org to learn more about how the CRC code is developed C 1 9 Stopping a measurement command A measurement command M is stopped if it detects a break signal before the measurement is complete A break signal is sent by the data logger before most commands A concurrent measurement command C is aborted when another valid command is sent to the sensor before the measurement time has elapsed C 1 10 ...

Page 31: ...ommand C 2 SDI 12 transparent mode System operators can manually interrogate and enter settings in probes using transparent mode Transparent mode is useful in troubleshooting SDI 12 systems because it allows direct communication with probes Data logger security may need to be unlocked before activating the transparent mode Transparent mode is entered while the computer is communicating with the da...

Page 32: ...ct the CR1000 station 4 Click Open Terminal 5 Select All Caps Mode 6 Press Enter until the data logger responds with the CR1000 prompt 7 Type SDI12 and press Enter 8 At the Select SDI12 Port prompt type the number corresponding to the control port where the sensor is connected and press Enter The response Entering SDI12 Terminal indicates that the sensor is ready to accept SDI 12 commands 9 To que...

Page 33: ...onnect a single SDI 12 sensor to the CR200 X 2 In LoggerNet Connect under Datalogger click Terminal Emulator The terminal emulator window opens 3 Under Select Device located in the lower left side of the window select the CR200Series station 4 Click Open Terminal 5 Select All Caps Mode 6 Press Enter until the data logger responds with the CR2XX prompt 7 Type SDI12 and press Enter 8 The response SD...

Page 34: ...Enter 10 To change the SDI 12 address type aAb where a is the current address from the previous step and b is the new address see FIGURE C 2 p 28 Press Enter The sensor changes its address and responds with the new address 11 To exit SDI 12 transparent mode click Close Terminal FIGURE C 2 CR200 X example of using the SDI 12 transparent mode to change the SDI 12 address from 0 to 1 WindSonic4 Two D...

Page 35: ...33 0 1 56 45 15 20 info campbellsci fr www campbellsci fr Germany Location Phone Email Website Bremen Germany 49 0 421 460974 0 info campbellsci de www campbellsci de India Location Phone Email Website New Delhi DL India 91 11 46500481 482 info campbellsci in www campbellsci in South Africa Location Phone Email Website Stellenbosch South Africa 27 21 8809960 sales campbellsci co za www campbellsci...

Reviews: