EasyManuals Logo

AMX NETLINX PROGRAMMING LANGUAGE User Manual

AMX NETLINX PROGRAMMING LANGUAGE
246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #234 background imageLoading...
Page #234 background image
Appendix A: Marshalling Protocol
218
NetLinx Programming Language Reference Guide
Types Supported in the XML Marshaller (Cont.)
DOUBLE 8-byte IEEE 754 float value. If var is an element of an
array, name is replaced with <index></index>. The
index value, and the type are optional. Typically, only
<var><data>Data</data></var> is needed.
<var>
<name>MyName</name>
<type>float.IEEE.754.64</type>
<data>4.56</data>
</var>
STRUCT A structure containing one or more fields. Each ele-
ment within a structure is self-descriptive and can be
any of the types in this table. If the struct is the outer-
most parent, then name is optional. If struct is an ele-
ment of an array, name is replaced with
<index></index> and the index value.
<struct> <name><MyName></name>
<var>…
</var>
</struct>
ARRAY Array of any one of the types in this table. Each ele-
ment in an array is self-descriptive. The type of the
parent is the type of the entire array. Type is optional
and generally not included when the array is an array
of structures. Current Length is optional. Array can
contain a series of items, a series of structures or a
series of array. Elements of an array should define an
index instead of a name. This is the commonly used
format for structures but all types are allowed.
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<var>
<index>1</index>…
</var></array>
...or...
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<struct>
<index>1</index>…
</struct>
</array>
... or...
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<array> <index>1</index>…
</array>
</array>
Array -
String
encoding
(Strings)
Array of unsigned characters. Data is encoded using
String encoding. Type and length are optional.
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<string>MyString</string>
</array>

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMX NETLINX PROGRAMMING LANGUAGE and is the answer not in the manual?

AMX NETLINX PROGRAMMING LANGUAGE Specifications

General IconGeneral
BrandAMX
ModelNETLINX PROGRAMMING LANGUAGE
CategorySoftware
LanguageEnglish

Related product manuals