04.01.2015 Views

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

CRBasic Example 15. BeginProg / Scan() / NextScan / EndProg Syntax .. 136<br />

CRBasic Example 16. Scan Syntax............................................................. 136<br />

CRBasic Example 17. Measurement Instruction Syntax............................. 140<br />

CRBasic Example 18. Use of Expressions in Arguments........................... 141<br />

CRBasic Example 19. Use of Arrays as Multipliers and Offsets................ 142<br />

CRBasic Example 20. Conversion of FLOAT / LONG to Boolean............ 143<br />

CRBasic Example 21. Evaluation of Integers............................................. 144<br />

CRBasic Example 22. Constants to LONGs or FLOATs ........................... 145<br />

CRBasic Example 23. String and Variable Concatenation ......................... 147<br />

CRBasic Example 24. Use of Variable Arrays to Conserve Code Space ... 150<br />

CRBasic Example 25. Use of Move() to Conserve Code Space................. 150<br />

CRBasic Example 26. FieldCal() Zeroing Demonstration Program ........... 155<br />

CRBasic Example 27. FieldCal() Offset Demo Program............................ 156<br />

CRBasic Example 28. FieldCal() Zero Basis Demo Program..................... 158<br />

CRBasic Example 29. FieldCal() Multiplier and Offset Demonstration<br />

Program................................................................................................ 160<br />

CRBasic Example 30. FieldCal() Multiplier-Only Demonstration<br />

Program................................................................................................ 161<br />

CRBasic Example 31. FieldCalStrain() Calibration Demonstration ........... 164<br />

CRBasic Example 32. HTML ..................................................................... 170<br />

CRBasic Example 33. Using Alternate Concurrent Command (aC)........... 181<br />

CRBasic Example 34. Using SDI12Sensor() Command ............................ 182<br />

CRBasic Example 35. Using an SDI-12 Extended Command.................... 184<br />

CRBasic Example 36. SDI-12 Sensor Setup............................................... 185<br />

CRBasic Example 37. Subroutine with Global and Local Variables .......... 187<br />

CRBasic Example 38. Custom Menus ........................................................ 196<br />

CRBasic Example 39. Conditional Compile............................................... 199<br />

CRBasic Example 40. Receiving an RS-232 String.................................... 210<br />

CRBasic Example 41. Measure Sensors / Send RS-232 Data..................... 215<br />

CRBasic Example 42. Using TrigVar to Trigger Data Storage .................. 223<br />

CRBasic Example 43. NSEC — One Element Time Array........................ 224<br />

CRBasic Example 44. NSEC — Two Element Time Array ....................... 225<br />

CRBasic Example 45. NSEC — Seven and Nine Element Time Arrays.... 225<br />

CRBasic Example 46. NSEC —Convert Timestamp to Universal Time.... 226<br />

CRBasic Example 47. Programming with Bool8 and a bit-shift operator .. 229<br />

CRBasic Example 48. Inserting String Characters...................................... 239<br />

CRBasic Example 49. Formatting Strings .................................................. 240<br />

CRBasic Example 50. Two Data Intervals in One Data Table ................... 240<br />

CRBasic Example 51. Program Signatures................................................. 242<br />

CRBasic Example 52. Miscellaneous Features........................................... 243<br />

CRBasic Example 53. Running Average and Running Total of Rain......... 246<br />

CRBasic Example 54. Use of Multiple Scans............................................. 246<br />

CRBasic Example 55. Groundwater Pump Test ......................................... 247<br />

CRBasic Example 56. Scaling Array .......................................................... 250<br />

CRBasic Example 57. Conditional Output.................................................. 251<br />

CRBasic Example 58. BeginProg / Scan / NextScan / EndProg Syntax..... 252<br />

CRBasic Example 59. PT100 in Four-Wire Half-Bridge............................ 259<br />

CRBasic Example 60. PT100 in Three-wire Half-bridge............................ 261<br />

CRBasic Example 61. PT100 in Four-Wire Full-Bridge ............................ 263<br />

CRBasic Example 62. Using TableFile() with Option 64 with CF Cards... 268<br />

CRBasic Example 63. Time Stamping with System Time.......................... 274<br />

CRBasic Example 64. Measuring Settling Time......................................... 288<br />

CRBasic Example 65. Four-Wire Full-Bridge Measurement and<br />

Processing ............................................................................................ 297<br />

CRBasic Example 66. Implementation of DNP3........................................ 366<br />

CRBasic Example 67. Concatenating Modbus Long Variables.................. 371<br />

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!