Campbell-scientific CR1000 Measurement and Control System Manual do Utilizador Página 338

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 337
Section 8. Operation
338
Example:
"signature": 38611,"environment": {"stationfiname": "11467","tablefiname":
"Test","model": "CR1000","serialfino": "11467",
"osfiversion": "CR1000.Std.21.03","progfiname": "CPU:file format.CR1"},"fields":
[{"name": "battfivoltfiMin","type": "xsd:float",
"process": "Min"},{"name": "PTemp","type": "xsd:float","process": "Smp"}]},
"data": [{"time": "2011-01-06T15:04:15","no": 0,"vals": [13.28,21.29]},
{"time": "2011-01-06T15:04:30","no": 1,"vals": [13.28,21.29]},
{"time": "2011-01-06T15:04:45","no": 2,"vals": [13.28,21.29]},
{"time": "2011-01-06T15:05:00","no": 3,"vals": [13.28,21.29]}]}
Data File-Format Elements
HEADER
File headers provide metadata that describe the data in the file. A TOA5 header
contains the metadata described below. Other data formats contain similar
information unless a non-header format option is selected in the TableFile()
instruction in the CR1000 CRBasic program.
Line 1 – Data Origins
Includesthefollowingmetadataseries:filetype,stationname,CR1000
modelname,CR1000serialnumber,OSversion,CRBasicprogram
name,programsignature,datatablename.
Line 2 – Data-Field Names
Liststhenameofindividualdatafields.Ifthefieldisanelementofan
array,thenamewillbefollowedbyacomm
aseparatedlistof
subscriptswithinparenthesesthatidentifiesthearrayindex.For
example,avariablenamed“values”thatisdeclaredasatwobytwo
array,i.e.,
Public Values(2,2)
willberepresentedbyfourfieldnames:“values(1,1)”,“values(1,2)”,
“values(2,1)”,and“values(2,2)”.Scalar(nonarray)variableswillnot
havesubscripts.
Line 3 – Data Units
Includestheunitsassociatedwitheachfieldintherecord.Ifnounits
areprogrammedintheCR1000CRBasicprogram,anemptystringis
enteredforthatfield.
Line 4 – Data-Processing Descriptors
EntriesdescribewhattypeofprocessingwasperformedintheCR
1000
toproducecorrespondingdata,e.g.,Smpindicatessamples,Min
indicatesminima.Ifthereisnorecognizedprocessingforafield,itis
assignedanemptystring.Therewillbeonedescriptorforeachfield
namegivenonHeaderLine2.
Vista de página 337
1 2 ... 333 334 335 336 337 338 339 340 341 342 343 ... 587 588

Comentários a estes Manuais

Sem comentários