beautypg.com

Echelon LonBridg Server User Manual

Page 55

background image

LonBridge Server User’s Guide

49

Figure 4. Attribute Information for the SNVT_power Type

The first piece of information that you need about a network variable is its size.
As the figure shows, the data type for the SNVT_power type is unsigned long,

which the Neuron C language defines as a two-byte type. Thus, the size of the
nvoPower network variable is 2.
Because the SNVT_power type does not include any structures, there is only one

network variable field: its index is 0 and its length is 2 (the size of the type).

By default, the SNVT_power type scales its values by 0.1, as shown on the Scales

tab in Figure 5 on page 50.