EasyManuals Logo

Campbell CR1000 User Manual

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
Page #591 background imageLoading...
Page #591 background image
Appendix A. CRBasic Programming Instructions
FileReadLine
Reads a line in a file referenced by FileHandle and stores the result in a variable
or variable array.
Syntax
FileReadLine(FileHandle, Destination, Length)
FileRename
Changes the name of file on a CR1000 drive.
Syntax
FileRename(drive:OldFileName, drive:NewFileName)
FileSize
Returns the size of a file stored in CR1000 memory.
Syntax
FileSize(FileHandle)
FileTime
Returns the time the file specified by the FileHandle was created.
Syntax
Variable = FileTime(FileHandle)
FileWrite
Writes ASCII or binary data to a file referenced in the program by FileHandle.
Syntax
FileWrite(FileHandle, Source, Length)
Include
Inserts code from a file (Filename) at the position of the Include() instruction at
compile time. Include() cannot be nested.
Syntax
Include("Device:Filename")
NewFile
Determines if a file stored on the CR1000 has been updated since the instruction
was last run. Typically used with image files.
Syntax
NewFile(NewFileVar, "FileName")
RunProgram
Calls a secondary CRBasic program file from the current active program.
Syntax
RunProgram("Device:FileName", Attrib)
591

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell CR1000 and is the answer not in the manual?

Campbell CR1000 Specifications

General IconGeneral
Power Requirements9.6 to 16 VDC
Data Logger Operating SystemCRBasic
Memory4 MB
Analog Inputs16 single-ended or 8 differential
Analog Input Resolution13 bits
Analog Input Range+/-2.5V
Digital I/O8
Pulse Counters2
Communication PortsRS-232
Operating Temperature-25°C to +50°C
Pulse Channels4

Related product manuals