Section 10. CRBASIC Programming Instructions
103
LOG
Returns the natural logarithm of a number. Ln and Log perform the same
function.
Syntax
x = LOG(source)
x = LN(source)
Note
LOGN = LOG(X) / LOG(N)
LOG10
The LOG10 function returns the base 10 logarithm of a number.
Syntax
x = LOG10 (number)
MOD
Divides two numbers and returns only the remainder.
Syntax
result = operand1 MOD operand2
RectPolar
Converts from rectangular to polar coordinates.
Syntax
RectPolar (Dest, Source)
SGN
Finds the sign value of a number.
Syntax
x = SGN(source)
Sqr
Returns the square root of a number.
Syntax
x = SQR(number)
10.6.5 Spatial Processing
AvgSpa
Computes the spatial average of the values in the source array.
Syntax
AvgSpa (Dest, Swath, Source)
CovSpa
Computes the spatial covariance of sets of data.
Syntax
CovSpa (Dest, NumOfCov, SizeOfSets, CoreArray,
DatArray)
MaxSpa
Finds the maximum value in an array.
Syntax
MaxSpa (Dest, Swath, Source)
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......