Lon device views

By default, any Lon device (typically DynamicDevice) has two special manager views, in addition to the standard component views (property sheet, wire sheet, category sheet, slot sheet, and link sheet). These views are the Nv Manager and the Nc Manager.

About the Nv Manager

The Nv Manager is the default view of any Lon device (except Local Lon Device). It allows you to browse through a table of the device’s nvs (nvi and nvo) LonComponents, showing a number of sortable columns of data. You can use the standard table edit controls to change the number and types of data displayed in this view. Summary data is updated dynamically through polling.

Edit access is also provided, where you can simply double-click any single row in the Nv Manager to change the components name, if needed. More typically, you use it to “gang edit” the tuning policy used by some group of nvs, as shown in Figure 37.

Figure 37. Using Nv Manager and “gang edit” to reassign tuning policies to selected nvs


Using Nv Manager and “gang edit” to reassign tuning policies to selected nvs


NoteIf using the “Use Lon Objects” feature available starting in AX-3.3, the Nv Manager (or Nc Manager) view initially shows only the top-level LonObject(s), where each contains a set of LonComponents. In this case, click the “All Descendants” tool to see the nvs or ncis under each object, as shown in Figure 38.

Figure 38. Use the “All Descendants” tool in Nv Manager or Nc Manager view of device with LonObjects


Use the “All Descendants” tool in Nv Manager or Nc Manager view of device with LonObjects

For details on globally setting the “Use Lon Objects” option, see Use Lon Objects notes. For details about LonObjects, see LonObjects.

About the Nc Manager

The Nc Manager is another available view of any Lon device. As shown in Figure 39, it is a table view similar to the Nv Manager, but provides access only to ncis in the device.

Figure 39. NC Manager view on Lon device shows only ncis


NC Manager view on Lon device shows only ncis


Again, table columns are resortable, and you can change the data columns for display using the standard table controls. Edit access to an nci using the Nc Manager is limited to changing the name of the associated LonComponent.

If LonObjects appear in the Nc Manager, click the “All Descendants” tool to flatten the hierarchy in the view to see ncis in each LonObject. See Figure 38 for an example doing this from the Nv Manager.

About the Changeable Nv Manager

Providing that a Lonworks device has the capability of “changeable-type network variables,” the Lon device component for it has another available view: the Changeable Nv Manager (Figure 39).

Figure 40. Changeable Nv Manager view of a Lon device


Changeable Nv Manager view of a Lon device


This table-based view lists all nvs in the device that are designated as changeable types, along with the current SNVT type used for each.

If needed, you can select one or more nvs and click the Edit button for an Edit Nv Type dialog, as shown in Figure 41.

Figure 41. Editing selected nv in Changeable Nv Manager


Editing selected nv in Changeable Nv Manager


You can then select another SNVT type from the drop-down list (ordered alphabetically, each type also includes the SNVT type index number.) When you click OK, the nv(s) are changed in that device to use the new SNVT type.

NoteIf you select a SNVT type that requires more memory than allocated for that nv by the device, a “Max Length Error” popup appears, and the nv(s) remain unchanged.