B.1.6 array compatible csv, B.1.7 csixml, B.1.7.1 a short introduction to xml – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 500: B.1.6, B.1.7, B.1.7.1

Advertising
background image

Appendix B. Campbell Scientific File Formats

The timestamp and record number for each record are an optional output in a

TOB1 file. If these elements are present, a “SECONDS”,

“NANOSECONDS”, and “RECORD” column will be generated as names in

the field list of header line two.

B.1.6 Array Compatible CSV

This file format can be used to product output files from table data dataloggers

that are similar to those created by mixed array dataloggers. The file format

has the following features:

Commas separate all values.

The user determines whether to include an Array ID. If an Array ID is to

be included, it is specified by the user.

The user specifies the format of the timestamp.

An example of an Array Compatible CSV file:

101,2009,105,1051,27,13.39,24.04,23.99

101,2009,105,1052,28,13.39,24.04,23.98

101,2009,105,1053,29,13.39,24.04,23.98

101,2009,105,1054,30,13.39,24.04,24

101,2009,105,1055,31,13.39,24.04,23.98

101,2009,105,1056,32,13.39,24.04,23.98

B.1.7 CSIXML

CSIXML is an XML (eXtensible Markup Language) based file format

designed to provide the following features:

Contains data for a single table.

Data records can be appended without having to reformat the entire file.

The file meta-data can be verified for appending data without having to

read the entire file.

Lends itself readily to XSL transformations to produce various other CSI

text based formats as well as customer specific formats.

Simple to encode and to decode table records.

Can handle both interval driven and event driven data without significant

structural complexity.

XSD (XML Schema) files can be generated readily for a specific table file

using XSL transforms.

B.1.7.1 A Short Introduction to XML

First and foremost, CSIXML is a well-formed XML document. This means

that all CSIXML files will conform to the syntax rules for XML. Well formed

XML documents possess a tree structure that consists of elements and element

B-6

Advertising