List of crbasic examples – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual
Page 24

Table of Contents
24
Table 156. LoggerNet Adjuncts and Clients
1,2
............................................
1258H
548
286H
Table 157. Software Tools ..........................................................................
1259H
548
287H
Table 158. Software Development Kits ......................................................
1260H
549
List of CRBasic Examples
288H
CRBasic Example 1. Using an "Include File" to Control SW12.................
1261H
105
289H
CRBasic Example 2. "Include File" to Control SW12 ................................
1262H
105
290H
CRBasic Example 3. Simple Default.cr8 File .............................................
1263H
106
291H
CRBasic Example 4. Inserting Comments ..................................................
1264H
110
292H
CRBasic Example 5. Load binary information into a variable....................
1265H
112
293H
CRBasic Example 6. Proper Program Structure..........................................
1266H
114
294H
CRBasic Example 7. Using a Variable Array in Calculations ....................
1267H
117
295H
CRBasic Example 8. Using Variable Array Dimension Indices .................
1268H
118
296H
CRBasic Example 9. Data Type Declarations.............................................
1269H
120
297H
CRBasic Example 10. Flag Declaration and Use........................................
1270H
121
298H
CRBasic Example 11. Initializing Variables...............................................
1271H
122
299H
CRBasic Example 12. Using the Const Declaration ...................................
1272H
123
300H
CRBasic Example 13. Foreign-Language Support......................................
1273H
125
301H
CRBasic Example 14. Definition and Use of a Data Table.........................
1274H
127
302H
CRBasic Example 15. BeginProg / Scan() / NextScan / EndProg Syntax ..
1275H
136
303H
CRBasic Example 16. Scan Syntax.............................................................
1276H
136
304H
CRBasic Example 17. Measurement Instruction Syntax.............................
1277H
140
305H
CRBasic Example 18. Use of Expressions in Arguments ...........................
1278H
141
306H
CRBasic Example 19. Use of Arrays as Multipliers and Offsets ................
1279H
142
307H
CRBasic Example 20. Conversion of FLOAT / LONG to Boolean............
1280H
144
308H
CRBasic Example 21. Evaluation of Integers .............................................
1281H
144
309H
CRBasic Example 22. Constants to LONGs or FLOATs............................
1282H
145
310H
CRBasic Example 23. String and Variable Concatenation .........................
1283H
148
311H
CRBasic Example 24. Use of Variable Arrays to Conserve Code Space....
1284H
151
312H
CRBasic Example 25. Use of Move() to Conserve Code Space .................
1285H
151
313H
CRBasic Example 26. FieldCal() Zeroing Demonstration Program ...........
1286H
155
314H
CRBasic Example 27. FieldCal() Offset Demo Program............................
1287H
157
315H
CRBasic Example 28. FieldCal() Zero Basis Demo Program.....................
1288H
158
316H
CRBasic Example 29. FieldCal() Multiplier and Offset Demonstration
Program................................................................................................
1289H
160
317H
CRBasic Example 30. FieldCal() Multiplier-Only Demonstration
Program................................................................................................
1290H
161
318H
CRBasic Example 31. FieldCalStrain() Calibration Demonstration ...........
1291H
164
319H
CRBasic Example 32. HTML .....................................................................
1292H
171
320H
CRBasic Example 33. Using Alternate Concurrent Command (aC)...........
1293H
182
321H
CRBasic Example 34. Using SDI12Sensor() Command.............................
1294H
183
322H
CRBasic Example 35. Using an SDI-12 Extended Command ....................
1295H
185
323H
CRBasic Example 36. SDI-12 Sensor Setup...............................................
1296H
186
324H
CRBasic Example 37. Subroutine with Global and Local Variables ..........
1297H
189
325H
CRBasic Example 38. Custom Menus ........................................................
1298H
197
326H
CRBasic Example 39. Conditional Compile ...............................................
1299H
200
327H
CRBasic Example 40. Receiving an RS-232 String....................................
1300H
211
328H
CRBasic Example 41. Measure Sensors / Send RS-232 Data.....................
1301H
216
329H
CRBasic Example 42. Using TrigVar to Trigger Data Storage...................
1302H
224
330H
CRBasic Example 43. NSEC — One Element Time Array........................
1303H
225
331H
CRBasic Example 44. NSEC — Two Element Time Array .......................
1304H
226
332H
CRBasic Example 45. NSEC — Seven and Nine Element Time Arrays....
1305H
226
333H
CRBasic Example 46. NSEC —Convert Timestamp to Universal Time....
1306H
227
334H
CRBasic Example 47. Programming with Bool8 and a bit-shift operator...
1307H
230
335H
CRBasic Example 48. Inserting String Characters......................................
1308H
240