EasyManua.ls Logo

LI-COR LI-840A - Configuration Grammar; LI-840 A Communications and XML

LI-COR LI-840A
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix E. Configuration Grammar
Introduction
The LI-840A communicates exclusively through a serial interface. The following discussion
describes how to implement a synchronized communication protocol.
LI-840A Communications and XML
The configuration grammar used to communicate with the LI-840A is based upon a subset of
the eXtensible Markup Language (XML). XML relies on the use of tags to "Markup", or give
structural rules to a set of data.
A tag is a descriptive identifier, enclosed between a less than (<) and a greater than (>) symbol,
used in part to describe a piece of data. For example, <NAME> is a tag that describes a person's
name. Each tag must have a corresponding end tag, denoted by '/'. Extending the example
above, the end tag of <NAME> is </NAME>.
Elements are the basic unit of XML content. An element consists of a start tag and an end tag,
and everything in between. For example, consider the following element:
Appendix E. Configuration Grammar E-1