Campbell-scientific CR3000 Micrologger Manuel d'utilisateur Page 344

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 590
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 343
Section 8. Operation
344
willberepresentedbyfourfieldnames:“values(1,1)”,“values(1,2)”,
“values(2,1)”,and“values(2,2)”.Scalar(nonarray)variableswillnot
havesubscripts.
Line 3 – Data Units
Includestheunitsassociatedwitheachfieldintherecord.Ifnounits
areprogrammedintheCR3000CRBasicprogram,anemptystringis
enteredforthatfield.
Line 4 – Data-Processing Descriptors
EntriesdescribewhattypeofprocessingwasperformedintheCR
3000
toproducecorrespondingdata,e.g.,Smpindicatessamples,Min
indicatesminima.Ifthereisnorecognizedprocessingforafield,itis
assignedanemptystring.Therewillbeonedescriptorforeachfield
namegivenonHeaderLine2.
Record Element 1 – Timestamp
Datawithoutti
mestampsareusuallymeaningless.Nevertheless,the
TableFile()instructionoptionallyincludestimestampsinsomeformats.
Record Element 2 – Record Number
Recordnumbersareoptionallyprovidedinsomeformatsasameansto
ensuredataintegrityandprovideanupcountdatafieldforgraphing
operations.Themaximumrecordnumberis&hffffffff(a32bit
number),thenthere
cordnumbersequencerestartsatzero.The
CR3000reportsbacktothedataloggersupportsoftware31bits,ora
maximumof&h7fffffff,thenitrestartsat0.Iftherecordnumber
incrementsonceasecond,restartatzerowilloccuraboutonceevery
68years.
8.3.2 Memory Conservation
One or more of the following memory-saving techniques can be used on the rare
occasions when a program reaches memory limits:
Declare variables as DIM instead of Public. DIM variables do not require
buffer memory for data retrieval.
Reduce arrays to the minimum size needed. Arrays save memory over the
use of scalars as there is less "meta-data" required per value. However, as a
rough approximation, 192000 (4-kB memory) or 87000 (2-kB memory)
variables will fill available memory.
Use variable arrays with aliases instead of individual variables with unique
names. Aliases consume less memory than unique variable names.
Confine string concatenation to DIM variables.
Dimension string variables only to the size required.
Vue de la page 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 589 590

Commentaires sur ces manuels

Pas de commentaire