Campbell Scientific CSAT3B CSAT3B Three-Dimensional Sonic Anemometer - Page 62
CRBasic Instructions
![]() |
View all Campbell Scientific CSAT3B manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 62 highlights
CSAT3B Three-Dimensional Sonic Anemometer The following sections give specifics about CRBasic instructions. Examples of common CRBasic programs for the CSAT3B are shown in Appendix C, Example CRBasic Datalogger Programs. 8.4.1 CRBasic Instructions 8.4.1.1 CSAT3B() The CSAT3B() instruction is the primary instruction used to retrieve anemometer data from the CSAT3B. This will set the operating mode of the anemometer and retrieve the wind, sonic temperature, and diagnostic information. The instruction requires four parameters which are further described in the following sections: 1) Destination 2) Bus 3) Address 4) OperatingMode The CSAT3B() instruction should appear in the main scan of the CRBasic program operating in pipeline mode. Destination: This variable will store the values returned by the anemometer. The destination variable must be declared as a float (default) with at least five elements. The CSAT3B returns the following data in response to a measurement trigger: 1) ux - x-axis wind speed in meters per second (m·s-1) 2) uy - y-axis wind speed in meters per second (m·s-1) 3) uz - z-axis wind speed in meters per second (m·s-1) 4) Ts - Sonic Temperature in degrees Celsius (°C) 5) Diagnostic word Bus: This parameter determines whether the communications to the CSAT3B are done via the SDM or CPI bus. A '0' indicates SDM and a '1' indicates CPI. This parameter must be a constant. Address: This parameter identifies the unique address of the CSAT3B on the communication bus. For SDM, this number may be in the range of 1 to 14. For CPI, this number may be in the range 1 to 120. This parameter must be a constant. OperatingMode: This parameter controls the trigger source and the application of filters to the anemometer data. This parameter must be a constant. 8.4.1.2 CSAT3BMonitor() The CSAT3BMonitor() instruction provides auxiliary information pertaining to the physical condition of the anemometer. This retrieves the internal temperature and relative humidity of the electronics enclosure, and also the inclination of the anemometer. The instruction requires three parameters: Destination; Bus; and Address. The CSAT3BMonitor() instruction should appear in a slow sequence of the CRBasic program operating in pipeline mode. 52
![](/manual_guide/products/campbell-scientific-csat3b-csat3b-threedimensional-sonic-anemometer-61e7b42/62.png)