Campbell Scientific CSAT3B CSAT3B Three-Dimensional Sonic Anemometer - Page 63

Diagnostic Word

Page 63 highlights

CSAT3B Three-Dimensional Sonic Anemometer 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: 1) Electronics temperature in degrees Celsius (°C) 2) Electronics relative humidity as a percent (%) 3) Inclinometer pitch in degrees (°) 4) 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 datalogger for the science data can be filtered out of the statistics based on the diagnostic word. See the example program in Appendix C, Example CRBasic Datalogger Program. 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 datalogger 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 8-5 summarizes the CSAT3B's diagnostic word flags. TABLE 8-5. Diagnostic Word Flags Hex Decimal Bit # Value Value 0 0x0001 1 Flag Name Low Amplitude Description Ultrasonic signal is too small 1 0x0002 2 High Ultrasonic signal is too Amplitude large 2 0x0004 4 Tracking The signal lock is poor Troubleshooting There may be an obstruction in the anemometer path or on the transducer face An obstruction, in the anemometer path or on the transducer face, was removed There may be an obstruction in the anemometer path or on the transducer face 53

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

CSAT3B Three-Dimensional Sonic Anemometer
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:
1)
Electronics temperature in degrees Celsius (°C)
2)
Electronics relative humidity as a percent (%)
3)
Inclinometer pitch in degrees (°)
4)
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 datalogger for
the science data can be filtered out of the statistics based on the diagnostic
word. See the example program in Appendix C,
Example CRBasic Datalogger
Program
.
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 datalogger 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 8-5 summarizes
the CSAT3B’s diagnostic word flags.
TABLE 8-5.
Diagnostic Word Flags
Bit #
Hex
Value
Decimal
Value
Flag Name
Description
Troubleshooting
0
0x0001
1
Low
Amplitude
Ultrasonic signal is too
small
There may be an obstruction in
the anemometer path or on the
transducer face
1
0x0002
2
High
Amplitude
Ultrasonic signal is too
large
An obstruction, in the
anemometer path or on the
transducer face, was removed
2
0x0004
4
Tracking
The signal lock is poor
There may be an obstruction in
the anemometer path or on the
transducer face
53