Specifications
Section 6. Data Table Declarations and Output Processing Instructions
GOESStatus (ResultCode, StatusCommand)
The GOESStatus instruction is used to request status and diagnostic
information from the SAT HDR GOES satellite transmitter.
When the datalogger sends a command, further processing tasks
will be performed only after a response has been received from
the HDR GOES Transmitter.
NOTE
Parameter
& Data Type
Enter
ResultCode
Array
An array that will hold the result codes returned from the transmitter. The size
of the array is determined by the option chosen in the StatusCommand.
Code Description
0 Command executed successfully
1 Checksum failure in response
2 Timeout waiting for STX character after SDC addressing
3 Wrong character (not STX) received after SDC addressing
4 Received a NAK
5 Timed out waiting for ACK
6 CS I/O port not available
7 Transmit random message failure, could be no data
9 Invalid command
StatusCommand
Constant
The StatusCommand specifies the type of information requested from the
transmitter.
Code Description Array Dim Required
0 Read time 4
1 Status 13
2 Last message status 14
3 Transmit random message 1
4 Read error register 10
5 Reset error register 1
6 Return transmitter to online mode 1
6.4 Output Processing Instructions
Average (Reps, Source, DataType, DisableVar)
This instruction stores the average value over the output interval for the source
variable or each element of the array specified.
Parameter
& Data Type
Enter
Reps
Constant
The number of averages to calculate. When Reps is greater than one, the source must be
an array.
Source
Variable
The name of the Variable that is to be averaged.
6-12