
Appendix A. CRBasic Programming Instructions
518
Move
Movesthevaluesinarangeofvariablesintodifferentvariablesorfillsarangeof
variableswithaconstant.
Syntax
Move(Dest, DestReps, Source, SourceReps)
A.14 File Management
Commands to access and manage files stored in CR3000 memory.
CalFile
Storesvariabledata,suchassensorcalibrationdata,fromaprogramintoanon‐
volatileCR3000memoryfile.CalFilepre‐datesandisnotusedwiththeFieldCal
function.
Syntax
CalFile(Source/Dest, NumVals, "Device:filename", Option)
Encryption
Encrypts/decryptsamessage(stringvariable)sharedbetweentwodevices.
Syntax
Result = Encryption(Dest, Source, SourceLen, Key, Action)
FileCopy
Copiesafilefromonedrivetoanother.
Syntax
FileCopy(FromFileName, ToFileName)
FileClose
ClosesaFileHandlecreatedbyFileOpen.
Syntax
FileClose(FileHandle)
FileEncrypt
Performsanencryptingalgorithmonthefile.AllowsdistributionofCRBasicfiles
withoutexposingsourcecode.
Syntax
Boolean Variable = FileEncrypt(FileName)
FileList
Returnsalistoffilesthatexistonthespecifieddrive.
Syntax
FileList(Drive,DestinationArray)
FileManage
Managesprogramfilesfromwithinarunningdataloggerprogram.
Syntax
FileManage("Device: FileName", Attribute)
Comentários a estes Manuais