CSAT3B Three-Dimensional Sonic Anemometer
57
Destination
;
Bus
; and
Address
. The
CSAT3BMonitor()
instruction should
appear in a slow sequence 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 four elements. The
CSAT3B returns the following data in response to this instruction:
•
Electronics temperature in degrees Celsius (°C)
•
Electronics relative humidity as a percent (%)
•
Inclinometer pitch in degrees (°)
•
Inclinometer roll in degrees (°)
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
1
to
14
. For
CPI, this number may be in the range
1
to
120
. This parameter must be a
constant.
8.4.2 Diagnostic Word
The fifth output from the CSAT3B is the diagnostic word. The diagnostic word
describes the status of the anemometer and is useful in filtering data. For
example, when the anemometer is locking in on the ultrasonic signals after
receiving the acquire signals command, the NaN it sends to the data logger for
the science data can be filtered out of the statistics based on the diagnostic
word. See the example program in Appendix
(p. C-1)
The diagnostic word is formatted as a simple 32-bit binary word. Each bit in
the diagnostic word represents a different warning flag related to the operation
of the CSAT3B. The data logger will display the diagnostic word as a base-10
integer. Viewed in this manner, each of the 32 bits has a different magnitude as
a decimal number. The resultant decimal number will be the sum of the
decimal magnitudes of each of the bits that are set. TABLE
CSAT3B diagnostic word flags.