Printer Output Formats - Campbell 21X Operator's Manual

Micrologger
Table of Contents

Advertisement

1.
Connectlthe Storage Module to the 21X
using
th{
SC12 cable.
2.
Enter th appropriate commands
as listed
in
Table
.2-2.
4.5
PRINTER OUTPUT FORMATS
Printer
outprJt
can be
sent
in
the binary Final
Storage Format (Appendix C.2)
or Printable
ASC|l.
lf usihg the *4 Mode to enable on-line
output,
PrintNble
ASCII
is
the only format
available.
ln
the Printable
ASCllformat
each
data point
is
preceded by
a2
digit
data point lD and
a
+ or
-
sign. The lD
and
fixed spacing
of
the data
points
makeiparticular points easy to find on
a
printed
outppt.
This
format requires
10
bytes
per
data poifrt to store on disk.
09-0.001
10+.00001
11+6999.
12+99999.
SECTION
4.
EXTERNAL STORAGE PERIPHERALS
Figure 4.5-1 shows both high
and low resolution
data points
in
a
12
data point output
array. The
example data
contains Day, Hour-Minute, and
Seconds
in
the 2nd - 4th data
points. The
output
array lD and time values (year, day, hour-
minute, and seconds) are
always
4
character
numbers, even
when high resolution output
is
specified.
Each
full line of data contains 8 data points (79
characters including spaces), plus a carriage
return (CR) and line
feed
(LF).
lf
the last data
point in
a
full line is high resolution, it
is
followed
immediately with a CR and
LF.
lf it is low
resolution,
the line
is
terminated with a space,
CR and
LF.
Lines of data
containing less than
8
data points are terminated similarly after the last
data point.
RETURN, LINE
FEED
-
DATA
POINT
ID
;
oUTPUT
ARRIAY
rD (PRG.
rBL.
+
LOC.
NO. OF
oUTPUT FLAG ENABLE
INST.)
I r
2
sPAcqs
I |
;-
DAY
oF
YEAR
I |
| ,
[nME
;-SEC'NDS
I I
|
|
|
TLoRESDATA
| |
|
|
|
|
;-Hr
RESD-{rA
| | I
I
I
|
|
['fi3'.RESzERo
I
| | | | |
| |
|
[''i'3^frFi^%,
ll Il | |
-L
rrr- Ii
j
+0101.
02+0011. I
05+2203. 04+0.000
05-0.100
06+2.0410
07+0.000
08+0.0000
01
_-T
TT
lllll--
|
|
|
|
r-
CARRTAGE
REn RN,
LINE
FEED
I
|
|
-MAx
Hr
RES
DATA
|
|
r-
MAX
Lo
REs
DATA
I
r_
MtN
Ht
RES
DATA
t_
MIN
LO RE$
DATA
I
,,GURE 4.5-1. Example of 21X Printable ASCII
output
Format
4-7

Advertisement

Table of Contents
loading

Table of Contents