Appendix A. CRBasic Programming Instructions
492
TimeUntilTransmit
TheTimeUntilTransmitinstructionreturnsthetimeremaining,inseconds,before
communicationwiththehostdatalogger.
Syntax
TimeUntilTransmit
Table 115. 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 CR800.
CRBasicExample70. RetriesinPakBusCommunications.
For I = 1 to 3
GetVariables(ResultCode,….)
If ResultCode = 0 Exit For
Next
A.13 Variable Management
ArrayIndex
Returnstheindexofanamedelementinanarray.
Syntax
ArrayIndex(Name)
ArrayLength
Returnsthelengthofavariablearray.InthecaseofvariablesoftypeString,the
totalnumberofcharactersthatthearrayofstringscanholdisreturned.
Syntax
ArrayLength(Variable)
Encryption
Encrypts/decryptsamessage(stringvariable)sharedbetweentwodevices.
Syntax
Result = Encryption(Dest, Source, SourceLen, Key, Action)