
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)
u
x
– x-axis wind speed in meters per second (m·s
-1
)
2)
u
y
– y-axis wind speed in meters per second (m·s
-1
)
3)
u
z
– z-axis wind speed in meters per second (m·s
-1
)
4)
T
s
– 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
Summary of Contents for CSAT3B
Page 2: ......
Page 6: ......
Page 80: ...Appendix B CSAT3B Measurement Theory B 4...
Page 87: ......