
TX321 Transmitter
24
7.5.2 GOESStatus()
The
GOESStatus()
instruction is used to read information from the TX321.
Information that can be read and stored in the data logger includes information
relating to the next transmission, the last transmission, GPS time and position,
and all logged errors. The status information can be used to set the data logger
clock and troubleshoot any problems that might arise. The
GOESStatus()
instruction also includes options to initiate a random transmission on
command.
The
GOESStatus()
instruction includes seven different functions:
Read Time,
Read Status, Read Last Message Status, Transmit Random Message, Read
Error Register, Clear Error Register, Return Transmitter to Online Mode
.
Transmit Random Message
,
Read Error Register
,
Clear Error
Register
, and
Return Transmitter to Online Mode
are for use with
previous versions of the GOES transmitter and will not be
described here.
GOESStatus()
expects two parameters. The first is the array used to store the
data returned by
GOESStatus()
; the second is the command to be issued. The
first element of each array returned by the
GOESStatus()
command is the
result code. The result code is used to test if the
GOESStatus()
instruction
executed successfully. When the result code is zero,
GOESStatus()
executed
successfully.
7.5.2.1 GOESStatus Read Time
Example:
Public gps(
4
)
GOESStatus(
gps(), 0
)
Command
0
(Read Time) will read the TX321 clock. Under normal operating
conditions, the time is GMT. There are delays in reading the time from the
TX321. The array needs to be four elements or more. As shown in TABLE
data is returned as: result code, hour, minute, second.
TABLE 7-1. GOESStatus Command 0: Read Time
Index
Contents
1
Command Result Code
2
Hours (GMT)
3
Minutes
4
Seconds
7.5.2.2 GOESStatus Read Status
Example:
Public Stats(
13
)
GOESStatus(
Stats(), 1
)
NOTE
Содержание TX321
Страница 1: ...TX321 Transmitter Revision 5 19 Copyright 2000 2019 Campbell Scientific ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 8: ......
Страница 46: ......
Страница 48: ......
Страница 56: ......
Страница 82: ......
Страница 84: ...AppendixE Meteosat F 2 FIGURE F 2 DCPRS and CGMS certificate ...
Страница 85: ...AppendixE Meteosat F 3 FIGURE F 3 EUMETSAT certificate ...