Example – Echelon LonWorks Network XML User Manual

Page 38

Advertising
background image

30

Using the XML Schema

Selector

Y N Specifies

the

selector used for the NV alias.

Value

Y N To

report

NV

values, you must specify the

Export NV values option (&H10) in the
XMLOptions export automation property (see
Invoking the Export Feature in Chapter 1).

If the NV value cannot be read from the
application device, the text string “?Unknown”
is reported.

HasShape

Y Y An

enumerated

value indicating whether the NV

is represented by a shape on the FB shape in the
network drawing. The possible values are as
follows:

0

False

1

True

You can preserve the NV shape on import by
setting the HasShape property to True

ConnDesc

Y N The

name

of

the

connection description template

used for connections in which the NV is the hub
is reported on export. For unconnected NVs,
ConnectDescTemplate_0 is reported.

ConfigProperties

Y

Y

The NV type CPs of the NV are reported.
Global CPs are reported in the
FunctionalBlocks property. See Configuration
Properties
for more information.

Targets

Y Y The

target

NVs

connected to the NV are

reported. See Targets for more information.

Example

<NetworkVariable Handle="0">

<Name>Analog</Name>
<Index>6</Index>
<LonMarkMemberIndex>0</LonMarkMemberIndex>
<ProgrammaticName>AI_Analog_1</ProgrammaticName>
<LonMarkMemberNumber>1</LonMarkMemberNumber>
<Direction ID="1">Output</Direction>
<IsTypeConfigurable ID="1">True</IsTypeConfigurable>
<TypeSpec>

<Scope ID="0">Standard</Scope>
<TypeName>SNVT_temp_f</TypeName>

</TypeSpec>
<Format>SNVT_temp_f#US</Format>
<IsDynamic ID="0">False</IsDynamic>
<Selector>213</Selector>
<HasShape ID="1">True</HasShape>
<ConnDesc>SCD_Unicast</ConnDesc>
</ConfigProperties>
</Targets>

Advertising