A.13 variable management, Table 119. asynchronous-port baud rates – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 514

Appendix A. CRBasic Programming Instructions
514
TimeUntilTransmit
The TimeUntilTransmit instruction returns the time remaining, in seconds, before
communication with the host datalogger.
Syntax
TimeUntilTransmit
Table 119. Asynchronous-Port
Baud Rates
-nnnn (autobaud
1
starting at nnnn)
0 (autobaud starting at 9600)
300
1200
4800
9600 (default)
19200
38400
57600
115200
1
autobaud: measurements are mode on the
communications signal and the baud rate is
determined by the CR1000.
CRBasic Example 71. 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)