beautypg.com

Appendix f. data dump datalogger program, F.1 introduction, F.2 toggling user flag 1 high – Campbell Scientific DCP100 GOES Data Collection Platform User Manual

Page 35: F.3 checking the buffer, F.4 test transmission, F.5 toggling user flag 2 high, F.6 cr10x data dump program

background image

F-1

APPENDIX F. DATA DUMP DATALOGGER PROGRAM

F.1 INTRODUCTION

The data dump program inserts 20 data points
(60 bytes) into the transmitter's random buffer
when user FLAG 1 is manually toggled HIGH.
The buffer is cleared when the user FLAG 2 is
set HIGH.

F.2 TOGGLING USER FLAG 1 HIGH

You start by typing in *6AD to enter the FLAG
Status Mode. [00:00:00:00] is displayed,
indicating user FLAGS 1 through 8 are set low.
To toggle user FLAG 1 HIGH, type 1. After the
display shows [10:00:00:00], type *0. When the
data points are in the buffer, [00:00:00:00] is
displayed.

If the display shows [00:00:00:00] before *0 is
typed, the data dump failed. To try again, type
a 1 and a *0. Twenty seconds after the display
shows LOG1, type *6AD. When [00:00:00:00]
is displayed, the data points are in the buffer.
The FLAG Status Mode is exited by setting the
scan rate to 0 (*1A0A) then typing in *0.

F.3 CHECKING THE BUFFER

Check the buffer for the 20 data points (60
bytes) with *#60 commands 7 and 5 (see
Section 8.3). If the display shows a number
other than 60, the data dump failed. You must
then reset the scan rate to 10 and return to the
Flag status mode to set user FLAG 1 HIGH
(see Section F.2).

F.4 TEST TRANSMISSION

CAUTION: The antenna must be
connected before the test or the transmitter
will be damaged.

To cause the TGT1 to transmit, use *#60
command 8. The transmission will last less than
5 seconds. To verify transmission occurred,
check forward and reflected power
(*#60 command 3). The TGT-1 will not perform
a test transmission more often than once each
minute.

F.5 TOGGLING USER FLAG 2 HIGH

After the test transmission, the random buffer
MUST BE cleared or the data will be randomly
transmitted throughout the transmission
interval. The buffer is cleared by setting the
scan rate to 10 and typing *6AD2 which sets
user FLAG 2 HIGH. After the display shows
[01:00:00:00], type in *0. If [00:00:00:00] is
shown before *0 is typed, you must type in a 2
and a *0. After waiting twenty seconds, set the
scan rate to 0 and check the buffer with *#60
commands 7 and 5. If a number other than
0000 is displayed, the steps for setting user
FLAG 2 HIGH must be repeated.

F.6 CR10X DATA DUMP PROGRAM

;
*Table 1 Program

01:

10.0

Execution Interval (seconds)

01:

If Flag/Port (P91)
1:

11

Do if Flag 1 is High

2:

30

Then Do

02:

Do (P86)
1:

10

Set Output Flag High

03:

Sample (P70)
1:

20

Reps

2:

1

Loc [ Data ]

;Transfer "test" data of 20 zeros (60 bytes) to
Random buffer for test transmission
04:

Data Transfer to GOES (P120)
1:

11

random buffer/overwrite
the old data

2:

1

FWD/Ref Power Loc
[ Data ]

05:

Do (P86)
1:

21

Set Flag 1 Low

06:

End (P95)

07:

If Flag/Port (P91)
1:

12

Do if Flag 2 is High

2:

30

Then Do