4 goessetup – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 28

Advertising
background image

TX312 Transmitter

includes the result code (see Table 5.1-6), time in seconds since January 1,
2000, Latitude in fractional degrees with 100 nanodegree resolution, Longitude
in fractional degrees with 100 nanodegree resolution, Elevation as a signed 32-
bit number in centimeters, and Magnetic Variation in fractional degrees with a
one millidegree resolution.

The second array, which must be dimensioned to seven, holds year, month,
day, hour (GMT), minute, seconds, microseconds. The second array can be
used to set the datalogger’s clock. See the ClockSet() instruction in the
CRBasic help for details.

5.1.4 GoesSetup

In GoesSetup(), All parameters can be variables of type Long except for the
Timed Interval, Timed Offset and Random interval which are all of type
String.

The GoesSetup() and GoesData() only return error messages at compile time.

Using GoesSetup, the datalogger can configure the transmitter under program
control. Because the parameters in the GoesSetup instruction can be variables,
error checking is done at run time, not compile time. Using GoesSetup(), the
custom display menu options and the datalogger keypad/display, programs can
be written that allow TX312 configuration via simple menus on the
keypad/display. See CRBasic help and Display Menu for details. GoesSetup
can also be used with constant values allowing fixed goes configuration
parameters to be stored in the datalogger, and executed when needed.

After GoesSetup executes, several TX312 settings are set to default values.

1) Messages are not centered in the transmission window.

2) Self-Timed message format is set to ASCII, which ONLY changes the flag

word. Pseudo binary formats will still work.

3) Random message format is set to ASCII, which ONLY changes the flag

word. Pseudo binary formats will still work.

4) Empty buffer message is turned off.

5) Randomizing percentage is set to 50%.

6) Data in the random buffer is repeated until cleared by the datalogger.

7) Random message counter is turned off.

Instruction details:

GoesSetup(Result Code, Platform ID, Window, Timed Channel, Time Baud,
Random Channel, Random Baud, Timed Interval, Timed Offset, Random
Interval)

22

Advertising