A.14 file management, P. 518) – Campbell Scientific CR3000 Micrologger User Manual
Page 518

Appendix A. CRBasic Programming Instructions
518
Move
Moves the values in a range of variables into different variables or fills a range of
variables with a constant.
Syntax
Move(Dest, DestReps, Source, SourceReps)
A.14 File Management
Commands to access and manage files stored in CR3000 memory.
CalFile
Stores variable data, such as sensor calibration data, from a program into a non‐
volatile CR3000 memory file. CalFile pre‐dates and is not used with the FieldCal
function.
Syntax
CalFile(Source/Dest, NumVals, "Device:filename", Option)
Encryption
Encrypts / decrypts a message (string variable) shared between two devices.
Syntax
Result = Encryption(Dest, Source, SourceLen, Key, Action)
FileCopy
Copies a file from one drive to another.
Syntax
FileCopy(FromFileName, ToFileName)
FileClose
Closes a FileHandle created by FileOpen.
Syntax
FileClose(FileHandle)
FileEncrypt
Performs an encrypting algorithm on the file. Allows distribution of CRBasic files
without exposing source code.
Syntax
Boolean Variable = FileEncrypt(FileName)
FileList
Returns a list of files that exist on the specified drive.
Syntax
FileList(Drive,DestinationArray)
FileManage
Manages program files from within a running datalogger program.
Syntax
FileManage("Device: FileName", Attribute)