Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 51

Advertising
background image

Appendix D. RAWS-7 Data Format

D-3

P126 format code 3
ASCII RAWS-7 format, 1, 2 or 3 columns

1 Total

Rain

xx.xx

2

Avg Wind Speed

xxx

3

Avg Wing Direction

xxx

4

Sample Air Temp

xxx

5

Avg Relative Humidity

xxx

6

Sample Fuel Temp

xxx

7 Battery

Voltage

xx.x

P126 format code 4
ASCII fixed decimal

xxx.x


P126 format code 5
ASCII fixed decimal

xx.xx


P126 format code 6
ASCII fixed decimal

x.xxx


P126 format code 7
ASCII fixed decimal

xxx


P126 format code 8
ASCII fixed decimal

xxxxx

D.5 Writing Additional Data Values Beyond the

RAWS-7

If additional data points beyond the RAWS-7 need to be transmitted, each row
of data is stored in input locations until the data set is complete. Then the data
is copied to the transmitter.

When P126 is executed with a data format code of 4 through 8, the line of data
is preceded by a carriage return and line feed. Each data point is separated by a
space. Format code 8 can be used with high or low resolution data. Three steps
are required to write a row of data: Set the output flag, write data to final
storage, copy data to transmitter by executing P126.

Program example

CR10X program example to send fire weather data. If using the example
program, using the input location editor to name all the input locations can be
helpful. In Edlog.exe, start a new program then press F5 to bring up the input
location editor. Type in the names for all the input locations. The input location
names are listed at the end of the program example. F6 will bring up a pick list
of all the input locations. Using the pick list helps to avoid mistakes when
selecting input locations.

Advertising