EasyManua.ls Logo

Campbell CR1000

Campbell CR1000
678 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
Syntax
length = SPrintF(Destination, format,...)
Trim
Returns a copy of a string with no leading or trailing spaces.
Syntax
variable = Trim(TrimString)
UpperCase
Converts a string to all uppercase characters
Syntax
String = UpperCase(SourceString)
A.9 Time KeepingInstructions
Related Topics:
Time Keeping Overview (p. 75)
Time Keeping Instructions
(p. 578)
Within the CR1000, time is stored as integer seconds and nanoseconds into the
second since midnight, January 1, 1990.
ClockChange
Returns milliseconds of clock change due to any setting of the clock that occurred
since the last execution of ClockChange.
Syntax
variable = ClockChange
ClockReport
Sends the CR1000 clock value to a remote datalogger in the PakBus network.
Syntax
ClockReport(ComPort, RouterAddr, PakBusAddr)
ClockSet
Sets the CR1000 clock from the values in an array.
Syntax
ClockSet(Source)
DaylightSaving
Defines daylight saving time. Determines if daylight saving time has begun or
ended. Optionally advances or turns back the CR1000 clock one hour.
578

Table of Contents

Related product manuals