A.5 measurement instructions, A.5.1 diagnostics – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual
Page 461

Appendix A. CRBasic Programming Instructions
461
ShutDownBegin
Begins code to be run in the event of a normal shutdown such as when sending a
new program.
Syntax
ShutDownBegin
ShutDownEnd
Ends code to be run in the event of a normal shutdown such as when sending a
new program.
Syntax
ShutDownEnd
A.5 Measurement Instructions
Read More! For information on recording data from RS-232 and TTL output
sensors, see Serial Input / Output
(p. 487)
and Serial I/O
(p. 201).
A.5.1 Diagnostics
Battery
Measures input voltage.
Syntax
Battery(Dest)
ComPortIsActive
Returns a Boolean value, based on whether or not activity is detected on the
specified COM port.
Syntax
variable = ComPortIsActive(ComPort)
InstructionTimes
Returns the execution time of each instruction in the program.
Syntax
InstructionTimes(Dest)
MemoryTest
Performs a test on the CR800 CPU and Task memory and store the results in a
variable array.
Syntax
MemoryTest(Dest)
PanelTemp
This instruction measures the panel temperature in °C.
Syntax
PanelTemp(Dest, Integ)
Signature
Returns the signature for program code in a datalogger program.
Syntax
variable = Signature