A.13 variable management, Table 122. asynchronous-port baud rates – Campbell Scientific CR3000 Micrologger User Manual
Page 517

Appendix A. CRBasic Programming Instructions
517
Table 122. Asynchronous-Port
Baud Rates
-nnnn (autobaud
1
starting at nnnn)
0 (autobaud starting at 9600)
300
1200
4800
9600 (default)
19200
38400
57600
76800
115200
1
autobaud: measurements are mode on the
communications signal and the baud rate is
determined by the CR3000.
CRBasic Example 72. Retries in PakBus Communications.
For
I = 1
to
3
GetVariables
(ResultCode,….)
If
ResultCode = 0
Exit
For
Next
A.13 Variable Management
ArrayIndex
Returns the index of a named element in an array.
Syntax
ArrayIndex(Name)
ArrayLength
Returns the length of a variable array. In the case of variables of type String, the
total number of characters that the array of strings can hold is returned.
Syntax
ArrayLength(Variable)
Encryption
Encrypts / decrypts a message (string variable) shared between two devices.
Syntax
Result = Encryption(Dest, Source, SourceLen, Key, Action)
FindSpa
Searches a source array for a value and returns the value's position in the array.
Syntax
FindSpa(SoughtLow, SoughtHigh, Step, Source)