B.1.7.3.1.1 the environment element, B.1.7.3.1.2 the fields element, B.1.7.3.1.2.1 the field element – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 505

Advertising
background image

Appendix B. Campbell Scientific File Formats

B.1.7.3.1.1 The environment Element

This element contains sub-elements that provide information about the station

that generated the data and the program running on it. These elements include

the following:

station-name ─ Specifies the name of the station that generated the data.

This element must be present.

table-name ─ Specifies the name of the table as given in the datalogger

program. This element must be present.

model ─ Specifies the model number of the station. This element may be

omitted if the information is not available.

serial-no ─ Specifies the serial number of the datalogger. This element

may be omitted if the information is not available.

os-version ─ Specifies the version of the operating system running in the

datalogger. This element may be omitted if the information is not available.

dld-name ─ Specifies the file name of the program that is running in the

datalogger. This element may be omitted if the information is not available.

dld-sig ─ Specifies the signature of the program running in the datalogger.

This element may be omitted if the information is not available.

B.1.7.3.1.2 The fields Element

This element specifies the meta-data for all of the fields in the header file. It

will contain a collection of one or more

field elements. One for each scalar

element in the file (strings are considered to be scalar elements).

B.1.7.3.1.2.1 The field Element

This element specifies the meta-data for a single field. It is an empty element

(contains no child elements) but defines the following attributes:

name This attribute is required and specifies the name of the field. If the field

is part of an array, the name will include the array subscripts as a comma

separated list of integers within parentheses.

type This required attribute specifies the data type for the field. This data type

is a string that corresponds with a subset of XML Schema data types. The

following values will be used within csixml:

TABLE B-3. Field Data Types

xsd:string

Specifies string content

xsd:long

64 bit signed integer

xsd:unsignedLong

64 bit unsigned integer

xsd:int

32 bit signed integer

xsd:unsignedInt

32 bit unsigned integer

B-11

Advertising