beautypg.com

Campbell Scientific CR5000 Measurement and Control Module User Manual

Page 103

background image

Section 6. Data Table Declarations and Output Processing Instructions

6-9

Data transfer to the transmitter can occur via the datalogger's CS I/O port only.
The GOESData instruction has the following parameters:

When the datalogger sends a command, further processing tasks
will be performed only after a response has been received from
the HDR GOES Transmitter.

Parameter
& Data Type

Enter

Dest

The variable that holds a result code for the transmission. The result codes are:

Variable or

Code

Description

Array

0

Command executed successfully

2

Timed out waiting for STX character from transmitter after SDC
addressing

3

Wrong character received after SDC addressing.

4

Something other than ACK returned when select data buffer command
was executed

5

Timed out waiting for ACK

6

CS I/O port not available

7

Random message transmit failure (could be no data in buffer)

Table
Table Name

The data table from which record(s) should be transmitted.

TableOption

The TableOption indicates which records should be sent from the data table.

Constant

Code

Description

0

send all records since last execution

1

send only the most recent record stored in the table

BufferControl

Constant

The BufferControl parameter specifies which buffer should be used (random or
self-timed) and whether data should be overwritten or appended to the existing
data. Data stored in the self-timed buffer is transmitted only during a
predetermined time frame. Data is erased from the transmitter's buffer after each
transmission. Data in the random buffer is transmitted immediately after a
threshold has been exceeded. The transmission is randomly repeated to insure it
is received.
Code

Description

0

Append to self-timed buffer

1

Overwrite self-timed buffer

2

Append to random buffer

3

Overwrite random buffer

9

Clear random buffer

NOTE