Viewing Lon components (variables)

Under any Lon device, all of its available network variables (nvis and nvos, ncis, and cps (SCPTs) are represented in the station by Lon components, which are viewable on the device’s Property sSheet. In turn, each Lon component contains LonData plus one or more container slots, including a Props structure needed by the station’s network management to access or create links to variables.
Prerequisites: Variables (Lon components) are available for viewing.
  1. Right-click any device and click Views > Property Sheet.
    The device Property Sheet opens.

    The Lon Xml file (extension .lnml) associated with the device determines the device’s collection of Lon components. A Quik Learn or discovery job links the component with an existing Lon Xml file. You can manually specify the Lon Xml file in the Add or Edit window for a Lon device, then use the right-click device command Import Xml to associate the file with a device.

    If a dynamic device does not have a referenced Lon Xml file the system can identify its network variables using a Learn Nv action when the device is online with the station.

  2. Expand the individual variables.
    Image

    The screen capture shows a space temperature variable.

    When learning or adding a Lon device, you can optionally specify for the device’s Lon components to be grouped under LonObject containers. Each LonObject represents a LonMark object, and its child Lon components are the set of nvs, ncis, and cps that comprise that object.

  3. Expand a device in the Nav tree.
    LonObjects are visible in the Nav tree when you expand the Lon device. This extra level of component hierarchy may be useful in devices that have a large number of LonMark objects.