
- 27 -
STORING DATA
Data is put to the data storage EEPROM by using the LOG() command:
LOG(Temp,Hum,A,B,TurbAvg);
The above example will store the values of the sensor readings Temp and Hum, and
the values of the variables A, B, and TurbAvg. Any built in sensor, restricted variable,
or SDI sensor value can be logged. The stored data is marked with the time it was
logged.
There can be as many items in the list as you want, and there can be up to 253
LOG() commands in the program.
The only practical difference between the above example and the following is the
data storage lost to the extra time tags as the data logger does not attempt to group
LOG() commands together:
LOG(Temp);
LOG(Hum);
LOG(A);
LOG(B);
LOG(TurbAvg);
If there is an error in the data (a missing sensor, for example) then the stored value
will contain an error code in place of the data. See the Internal error handling
section that follows for more detail.
The data logger does not check for multiple occurrences of the same LOG()
command. Each separate LOG() command encountered is given a unique internal
identification starting at 0 for the first found in the program and incrementing as the
next is encountered. The only place the user sees this is in requesting stored data
information -- the data is identified by the internal identification number, rather than
the much longer text string of data to be logged.
Содержание HDL1
Страница 1: ...HDL1 HDL1 G5 Data Logger Operating Manual...
Страница 2: ......
Страница 8: ...iv THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 12: ...4 THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 20: ...12 THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 42: ...34 THIS PAGE INTENTIONALLY LEFT BLANK...