Section 11. Programming Resource Library
125
Resources Laboratory, NOAA, Idaho Falls, ID; and MERDI, Butte, MT. In
these tests, the maximum differences in
and
have never been greater than a few degrees.
The final form is arrived at by converting from radians to degrees (57.296
degrees/radian).
11.6 TrigVar and DisableVar - Controlling Data
Output and Output Processing
TrigVar is the third parameter in the DataTable () instruction. It controls
whether or not a data record is written to final storage. TrigVar control is subject
to other conditional instructions such as the DataInterval () instruction.
DisableVar is the last parameter in most output processing instructions, such as
Average (), Maximum (), Minimum (), etc. It controls whether or not a
particular measurement or value is included in the affected output processing
function.
Note
Together, TrigVar and DataInterval () grant functionality similar to Flag 0
in earlier generation CSI mixed-array dataloggers, such as the CR10X.
DisableVar grants functionality similar to Flag 9.
For individual measurements to affect summary data, output processing
instructions such as Average () must be executed whenever the DataTable is
called from the program - normally once each Scan. For example, for an average
to be calculated for the hour, each measurement must be added to a total over
the hour. This accumulation of data are not affected by TrigVar. TrigVar only
controls the moment when the final calculation is performed and the processed
data (the average) is written to the data table. For this summary moment to
occur, TrigVar and all other conditions (i.e. DataInterval) must be true. To
restate, when TrigVar is false, output processing instructions (e.g. Average ())
perform intermediate processing but not their final processing, and a new record
will not be created.
Note
In many applications, output records are solely interval based and TrigVar
is set to TRUE (-1) always. In these applications DataInterval () is the sole
specifier of the output trigger condition.
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......