B.1.7.3.2 the data element, B.1.7.3.2.1 the r (record) element, B.1.7.3.2.1.1 the v (value) element – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 506: B.1.7.4 file example, B.1.7.4

Advertising
background image

Appendix B. Campbell Scientific File Formats

xsd:short

16 bit signed integer

xsd:unsignedShort

16 bit unsigned integer

xsd:byte

8 bit signed integer

xsd:unsignedByte

8 bit unsigned integer

xsd:float

32 bit floating point number

xsd:double

64 bit floating point number

xsd:boolean

Boolean value

xsd:dateTime

date and time stamp

units This optional attribute will specify the units string provided by the

datalogger program.

process This optional attribute specifies the process string given by the

datalogger program based upon the processing instruction used to output data

into final storage.

B.1.7.3.2 The data Element

This element marks the beginning of data storage in the file. It will contain a

collection of zero or more

r (record) elements.

B.1.7.3.2.1 The r (record) Element

This element describes one table record. It can have the following optional

attributes:

no Specifies the record number for this record. These values indicate the

logged order of the data and will generally increment by one with each record

logged. Records can appear out of order, however, if one-way or data advise

data is used in conjunction with hole collection. Missed numbers can signify

missed records (holes).

time Specifies the time stamp for the record. This format will conform to the

standard XSD timestamp format.

This element will contain as many

value sub-elements as there are field

elements in the

fields header element.

B.1.7.3.2.1.1 The v (value) Element

This element conveys one scalar value (or string) for a field. There will be one

of these elements for each

field element defined in the fields element of the

header. The contents of these element will be the data for that field. An

optional attribute,

n (field Name), is supported. This attribute can be included

in order to increase the human readability of the file.

B.1.7.4 File Example

The following example was generated using the Tablemon2 utility:

<?xml version="1.0" standalone="yes"?>

<csixml version="1.0">

B-12

Advertising