EasyManua.ls Logo

Campbell CR850 - File Management

Campbell CR850
566 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
493
FindSpa
Searchesasourcearrayforavalueandreturnsthevalue'spositioninthearray.
Syntax
FindSpa(SoughtLow, SoughtHigh, Step, Source)
Move
Movesthevaluesinarangeofvariablesintodifferentvariablesorfillsarangeof
variableswithaconstant.
Syntax
Move(Dest, DestReps, Source, SourceReps)
A.14 File Management
Commands to access and manage files stored in CR800 memory.
CalFile
Storesvariabledata,suchassensorcalibrationdata,fromaprogramintoanon
volatileCR800memoryfile.CalFilepredatesandisnotusedwiththeFieldCal
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)

Table of Contents

Related product manuals