CR10X Reference Manual
B-12
1.
To preserve the barometer measurement resolution, barometer data must be
output to the CR10X Final Storage in High Resolution (Instruction 78).
2.
A communication failure shows up as a partial value or -99999. It is gener-
ally desirable to exclude this value from any processing and log the inci-
dence of failure. A failure may be detected by comparing it to expected
limits. A bad value may be excluded from processing by temporarily setting
the Intermediate Processing Disable flag (flag 9). To log a failure the reading
could be output immediately with the time of occurrence.
Table B-4 Number of Characters/Output and Memory Requirements
for Various Barometer Output Modes
Example Program 1
01:
P15
Control Port Serial I/O
01:
1
Repetitions
02:
00
Configuration code
ASCII;TTL
03:
0
CTS/Delay before send
04:
1
First control port
RTS/DTR=1, RX=2
05:
0
Output start location
06:
0
Number of locations to send
07:
13
Input termination character
13
=
CR
08:
9
Max characters to receive
09:
100
Delay for CTS/input
Wait 1 second for Input
10:
1
First input location
11:
1
Multiplier
barometer jumpered
12:
0
Offset
for millibar output
02:
P89
If X<=>F
START: Limit testing
01:
1
X Loc AIR, mb
02:
3
>=
If reading is
>
1300mb
03:
1300
F
04:
11
Set high Flag 1
then set Flag 1
high
03:
P89
If X<=>F
01:
1
X Loc AIR, mb
02:
4
<
If reading is < 800mb
03:
800
F
04:
11
Set high Flag 1
then set Flag 1
04:
P91
If Flag/Port
If Flag 1 is set,
01:
11
Do if flag 1 is high
02:
30
Then Do
do the following