Echelon LonBridg Server User Manual

Page 56

Advertising
background image

50

LonBridge Device Class File

Figure 5. The Scales Tab for the SNVT_power Type

For a LonBridge application, you might want to show the power as whole units,
so you can include a scale attribute of 10 to display whole values.
Thus, the <nv> element for the

power

attribute within the device class file

includes the following information:

<nv index="?" direction="output" size="2">
<byte index="0">
<attribute name="power" scale="10" length="2" />
</byte>
</nv>

The definition still lacks the network variable index for the nvoPower network
variable; see

Browse the XIF File to Determine Indices

on page 56 to determine

the index.

Determining the Attributes for nviValue and
nvoValueFb

For SNVT_switch_2, the Resource Editor displays the attribute information
shown in Figure 6 on page 51.

Advertising