Campbell Scientific CR1000 Measurement and Control System User Manual
Page 11

Table of Contents
11
7.8.2.5 FTP Client.......................................................................... 171
7.8.2.6 Telnet ................................................................................. 171
7.8.2.7 SNMP................................................................................. 171
7.8.2.8 Ping .................................................................................... 171
7.8.2.9 Micro-Serial Server............................................................ 172
7.8.2.10 Modbus TCP/IP................................................................ 172
7.8.2.11 DHCP............................................................................... 172
7.8.2.12 DNS ................................................................................. 172
7.8.2.13 SMTP ............................................................................... 172
7.8.3 SDI-12 Sensor Support................................................................ 172
7.8.3.1 SDI-12 Transparent Mode.................................................. 173
7.8.3.1.1 SDI-12 Transparent Mode Commands..................... 174
7.8.3.2 SDI-12 Programmed Modes .............................................. 177
7.8.3.2.1 SDI-12 Recorder Mode ............................................ 177
7.8.3.2.2 SDI-12 Sensor Mode ................................................ 184
7.8.3.3 SDI-12 Power Considerations............................................ 185
7.8.4 Subroutines .................................................................................. 187
7.8.5 Wind Vector ................................................................................ 188
7.8.5.1 OutputOpt Parameters........................................................ 188
7.8.5.2 Wind Vector Processing..................................................... 189
7.8.5.2.1 Measured Raw Data ................................................. 190
7.8.5.2.2 Calculations .............................................................. 190
7.8.6 Custom Menus............................................................................. 193
7.8.7 Conditional Compilation ............................................................. 198
7.8.8 Serial I/O ..................................................................................... 200
7.8.8.1 Introduction........................................................................ 201
7.8.8.2 I/O Ports ............................................................................. 202
7.8.8.3 Protocols ............................................................................ 202
7.8.8.4 Glossary of Terms.............................................................. 203
7.8.8.5 CRBasic Programming ...................................................... 204
7.8.8.5.1 Input Instruction Set Basics...................................... 205
7.8.8.5.2 Input Programming Basics ....................................... 206
7.8.8.5.3 Output Programming Basics..................................... 208
7.8.8.5.4 Translating Bytes...................................................... 208
7.8.8.5.5 Memory Considerations ........................................... 209
7.8.8.5.6 Demonstration Program............................................ 210
7.8.8.6 Testing Applications .......................................................... 211
7.8.8.6.1 Configure HyperTerminal ........................................ 211
7.8.8.6.2 Create Send Text File ............................................... 214
7.8.8.6.3 Create Text-Capture File .......................................... 214
7.8.8.6.4 Serial Input Test Program......................................... 214
7.8.8.7 Q & A................................................................................. 220
7.8.9 TrigVar and DisableVar — Controlling Data Output and
Processing...................................................................................... 222
7.8.10 NSEC Data Type ....................................................................... 223
7.8.10.1 NSEC Options.................................................................. 224
7.8.11 Bool8 Data Type........................................................................ 227
7.8.12 Faster Measurement Rates......................................................... 231
7.8.12.1 Measurements from 1 Hz to 100 Hz ................................ 232
7.8.12.2 Measurement Rate: 101 to 600 Hz................................... 233
7.8.12.2.1 SubScan() / NextSubScan Details .......................... 234
7.8.12.3 Measurement Rate: 601 to 2000 Hz................................. 235
7.8.13 String Operations....................................................................... 236
7.8.13.1 String Operators ............................................................... 237
7.8.13.2 String Concatenation........................................................ 237
7.8.13.3 String NULL Character.................................................... 238