Campbell CS106 Manuale delle Istruzioni Pagina 18

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 28
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 17
CS106 Barometric Pressure Sensor
7.4 Programming
Short Cut is the best source for up-to-date datalogger programming code.
Programming code is needed,
when creating a program for a new datalogger installation
when adding sensors to an existing datalogger program
If your data acquisition requirements are simple, you can probably create and
maintain a datalogger program exclusively with Short Cut. If your data
acquisition needs are more complex, the files that Short Cut creates are a great
source for programming code to start a new program or add to an existing
custom program.
Short Cut cannot edit programs after they are imported and edited
in CRBasic Editor.
A Short Cut tutorial is available in Section 4, Quickstart. If you wish to import
Short Cut code into CRBasic Editor to create or add to a customized program,
follow the procedure in Appendix A.1, Importing Short Cut Code into a
Program Editor. Programming basics for CRBasic dataloggers are provided in
the following sections; more detailed information about multiplier and offset
calculations, conversion factors, long cable lengths, resolution, and correcting
pressure to sea level is provided in Section 8, Operations. Complete program
examples for select dataloggers can be found in Appendix B, Example
Programs.
7.4.1 CRBasic Instructions
The VoltSE() measurement instruction programs the datalogger to measure the
CS106.
VoltSE(Dest, Reps, Range, SEChan, MeasOff, SettlingTime, Integration,
Multiplier, Offset)
At sea level, a multiplier of 0.24 and an offset of 500 will report the barometric
pressure in mbar or hPa. The offset will need to be adjusted if the barometer is
not at sea level (see Section 8.5, Correcting Pressure to Sea Level). If different
barometric pressure units are desired, see Section 8.2, Conversion Factors.
Often the TimeIntoInterval() instruction is used to only power the barometer
while making the measurements. Atmospheric pressure changes little with
time. In most weather station applications, measuring the barometer pressure
once an hour is adequate. See Appendix B, Example Programs, for more
information.
NOTE
10
Vedere la pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 27 28

Commenti su questo manuale

Nessun commento