ASCII table space (GOESTable()
format option 2)
This option provides a tabular format. Columns are fixed width, according to the field format, and are space delimited. Lines are <CR><LF> delimited. You can send either the newest or oldest data first. A <CR><LF> is added at the end of the final line sent.
-
NANs, +INFs, -INFs, and missing values show as forward slashes (/) in the output.
-
Each line contains all the values listed in
GOESTable()
that have been set withGOESField()
and are sent in the order they are listed in the data table ifScan_Order
is set to False. -
Each line has all data from a single sensor if
Scan_Order
is set to True. -
SHEF Codes can be added as headers or at the beginning of lines using
GOESField()
optionSHEF
. -
Value has a fixed width (ASCII format, width, precision, and range).
-
Value has a fixed precision (ASCII format, width, precision, and range).
-
Value only has a leading sign when negative (–).
-
Data outside of operating range will be set to the minimum or maximum of the range.
-
Value always has a trailing space character.
Format | Width | Precision | Range | Example ASCII output containing two values |
---|---|---|---|---|
xxx | 3 | 1 | –99 to 999 | 012 -34 |
xxxxx | 5 | 1 | –9999 to 99999 | 00012 -0034 |
xxx.x | 5 | 0.1 | –99.9 to 999.9 | 001.2 -03.4 |
xx.xx | 5 | 0.01 | –9.99 to 99.99 | 00.12 -0.34 |
x.xxx | 5 | 0.001 | –.999 to 9.999 | 0.012 -.034 |
Example outputs (with 10 fields):
GoesTable()
Fields_Scan_Order = FALSE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 1, Precision = 3, Width = 4
<CR><LF>-7.982 -7.982 //// //// //// //// //// //// 13.1 25.8<CR><LF>
GoesTable()
Fields_Scan_Order = FALSE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 4, Precision = 3, Width = 5
<CR><LF>-9.81 -9.81 ///// ///// ///// ///// ///// ///// 13.15 26.08
<CR><LF>-9.80 -9.80 ///// ///// ///// ///// ///// ///// 13.13 26.08
<CR><LF>-9.79 -9.79 ///// ///// ///// ///// ///// ///// 13.14 26.08
<CR><LF>-9.78 -9.78 ///// ///// ///// ///// ///// ///// 13.14 26.08<CR><LF>
GoesTable()
Fields_Scan_Order = TRUE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 1, Precision = 3, Width = 5
<CR><LF>-9.68
<CR><LF>-9.68
<CR><LF>/////
<CR><LF>/////
<CR><LF>/////
<CR><LF>/////
<CR><LF>/////
<CR><LF>/////
<CR><LF>13.12
<CR><LF>26.43<CR><LF>
GoesTable()
Fields_Scan_Order = TRUE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 4, Precision = 3, Width = 5
<CR><LF>-9.45 -9.44 -9.43 -9.42
<CR><LF>-9.45 -9.44 -9.43 -9.42
<CR><LF>///// ///// ///// /////
<CR><LF>///// ///// ///// /////
<CR><LF>///// ///// ///// /////
<CR><LF>///// ///// ///// /////
<CR><LF>///// ///// ///// /////
<CR><LF>///// ///// ///// /////
<CR><LF>13.13 13.14 13.13 13.13
<CR><LF>26.24 26.24 26.24 26.24<CR><LF>
GoesTable()
Fields_Scan_Order = FALSE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 1, Precision = 3, Width = 5, SHEF set to HG, TA, VB
<CR><LF>HG TA VB
<CR><LF>-7.94 13.13 26.72<CR><LF>
GoesTable()
Fields_Scan_Order = FALSE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 4, Precision = 3, Width = 5, SHEF set to HG, TA, VB
<CR><LF>HG TA VB
<CR><LF>-8.32 13.14 26.74
<CR><LF>-8.31 13.14 26.74
<CR><LF>-8.30 13.14 26.74
<CR><LF>-8.29 13.14 26.74<CR><LF>
GoesTable()
Fields_Scan_Order = TRUE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 1, Precision = 3, Width = 5, SHEF set to HG, TA, VB
<CR><LF>HG -6.79
<CR><LF>TA 13.12
<CR><LF>VB 26.68<CR><LF>
GoesTable()
Fields_Scan_Order = TRUE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 4, Precision = 3, Width = 5, SHEF set to HG, TA, VB
<CR><LF>HG -8.26 -8.25 -8.24 -8.23
<CR><LF>TA 13.14 13.14 13.13 13.14
<CR><LF>VB 26.76 26.76 26.76 26.76<CR><LF>
GoesTable()
Fields_Scan_Order = TRUE, Newest_First=FALSE, Format = 2
GoesField()
Decimation = 4, Precision = 3, Width = 5, SHEF set to HG, TA, VB
To get a single battery voltage (or other additional data), set GoesField()
Decimation = 1 for just the battery_voltage
(or other) value in the GOESTable()
.
<CR><LF>HG -9.70 -9.69 -9.68 -9.67
<CR><LF>TA 13.11 13.13 13.10 13.13
<CR><LF>VB 26.82 26.82 26.82 26.82
<CR><LF>BATTERY 13.13
<CR><LF>DATE 200336
<CR><LF>TIME 101500<CR><LF>