Appendix A. CRBasic Programming Instructions
461
ShutDownBegin
Beginscodetoberunintheeventofanormalshutdownsuchaswhensendinga
newprogram.
Syntax
ShutDownBegin
ShutDownEnd
Endscodetoberunintheeventofanormalshutdownsuchaswhensendinga
newprogram.
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
Measuresinputvoltage.
Syntax
Battery(Dest)
ComPortIsActive
ReturnsaBooleanvalue,basedonwhetherornotactivityisdetectedonthe
specifiedCOMport.
Syntax
variable = ComPortIsActive(ComPort)
InstructionTimes
Returnstheexecutiontimeofeachinstructionintheprogram.
Syntax
InstructionTimes(Dest)
MemoryTest
PerformsatestontheCR800CPUandTaskmemoryandstoretheresultsina
variablearray.
Syntax
MemoryTest(Dest)
PanelTemp
Thisinstructionmeasuresthepaneltemperaturein°C.
Syntax
PanelTemp(Dest, Integ)
Signature
Returnsthesignatureforprogramcodeinadataloggerprogram.
Syntax
variable = Signature