2 goesstatus read status, 3 goesstatus read last message status – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 24

Advertising
background image

TX312 Transmitter

reading the time from the TX312. The array needs to be four elements or
more. Data is returned as: Result Code, Hour, Minute, Second.

TABLE 5.1-1. GoesStatus Command 0: Read Time

Index Contents

1

Command Result Code

2 Hours

(GMT)

3 Minutes
4 Seconds

5.1.2.2 GoesStatus Read Status

Example:

Public Stats(13)

GoesStatus(Stats(), 1)

Command 1, (Read Status) is used to read information regarding the current
status of the transmitter. Information returned includes the number of bytes in
each data buffer, time until transmission and a loaded battery voltage.

TABLE 5.1-2. GoesStatus Command 1: Read Status

Index Contents

1

Command Result Code

2

Bytes of data in self-timed buffer

3

Time until next self-timed transmission: Days

4

Time until next self-timed transmission: Hours

5

Time until next self-timed transmission: Minutes

6

Time until next self-timed transmission: Seconds

7

Bytes of data in random buffer

8

Time until next random transmission interval start: Hours

9

Time until next random transmission interval start: Minutes

10

Time until next random transmission interval: Seconds

11

Failsafe, 1 indicates transmitter disabled due to failsafe.

12

Loaded power supply voltage, 1 amp load. (tenths of volts)

13

Average GPS acquisition time (tens of seconds)

5.1.2.3 GoesStatus Read Last Message Status

Example:

Public LastStats(14)

GoesStatus(LastStats(), 2)

Command 2 (Read Last Message Status) is used to read information regarding
the last transmission. Information includes the type of transmission, size,
forward power, reflected power, etc. Also returned is the GPS derived
Latitude and Longitude, which is updated once a day. The GPS update
interval can be changed.

18

Advertising