Programming the datalogger – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 4

Advertising
background image

TX312 Transmitter Table of Contents

4.5.2.4 GPS Status .......................................................................... 12
4.5.2.5 Read Audit Log................................................................... 13
4.5.2.6 Enable Transmitter.............................................................. 13
4.5.2.7 Disable Transmitter ............................................................ 13
4.5.2.8 Max Timed Message Length .............................................. 13
4.5.2.9 Max Random Message Length ........................................... 13
4.5.2.10 Clear Timed Buffer........................................................... 13
4.5.2.11 Clear Random Buffer........................................................ 13
4.5.2.12 Send to Timed Buffer ....................................................... 13
4.5.2.13 Send to Random Buffer .................................................... 13
4.5.2.14 SDI-12 Configuration ....................................................... 13
4.5.2.15 Show Defaults................................................................... 14

5. Programming the Datalogger ...................................14

5.1 CRBasic Programming........................................................................... 14

5.1.1 GoesData ...................................................................................... 14

5.1.1.1 Result Code......................................................................... 14
5.1.1.2 Data Table........................................................................... 14
5.1.1.3 Table Option ....................................................................... 14
5.1.1.4 Buffer Control..................................................................... 15
5.1.1.5 Data Format ........................................................................ 15
5.1.1.6 GOESData() Example......................................................... 16

5.1.2 GoesStatus.................................................................................... 17

5.1.2.1 GoesStatus Read Time........................................................ 17
5.1.2.2 GoesStatus Read Status ...................................................... 18
5.1.2.3 GoesStatus Read Last Message Status................................ 18
5.1.2.4 GoesStatus Read Error Register.......................................... 19

5.1.3 GoesGPS ...................................................................................... 21
5.1.4 GoesSetup..................................................................................... 22

5.1.4.1 Result Code......................................................................... 23
5.1.4.2 Platform ID ......................................................................... 23
5.1.4.3 Window .............................................................................. 23
5.1.4.4 Timed Channel.................................................................... 23
5.1.4.5 Timed Baud Rate ................................................................ 23
5.1.4.6 Random Channel ................................................................ 24
5.1.4.7 Random Baud Rate ............................................................. 24
5.1.4.8 Timed Interval .................................................................... 24
5.1.4.9 Timed Offset....................................................................... 24
5.1.4.10 Random Offset.................................................................. 24
5.1.4.11 GOESSetup Example........................................................ 24

5.2 Edlog Programming ............................................................................... 24

5.2.1 Deciding How Much Data will be Transmitted and When........... 25
5.2.2 Deciding What Data Format to Use ............................................. 25
5.2.3 Managing Data, Writing More Data than Will Be Transmitted ... 26
5.2.4 Sending Data to the Transmitter (P126) ....................................... 26

5.2.4.1 Buffer Control..................................................................... 27
5.2.4.2 Data Format ........................................................................ 27
5.2.4.3 P126 Result Codes .............................................................. 27

5.2.5 Read Status and Diagnostic Information from the TX312 ........... 28

5.2.5.1 P127, Command 0: Read Time.......................................... 29
5.2.5.2 P127, Command 1: Read Status......................................... 29
5.2.5.3 P127, Command 2: Read Last Message Status.................. 30
5.2.5.4 P127, Command 3: Transmit Random Message................ 30
5.2.5.5 P127, Command 4: Read TX312 Error Registers.............. 31

ii

Advertising