Echelon LNS User Manual
Page 367
LNS Programmer's Guide
353
The System Registered list shows the names of the plug-in applications that
have been registered for use with the open network’s system. It lists the
associated RegisteredServer property of the ComponentApp object for the
lcaCommandIdRegister command in the ComponentApps collection of the
System scope.
• Select the LNS Collections tab to display the list of all the ComponentApp
objects in the database, based on scope.
• Select the Plug-in Launching tab to invoke commands on target devices on the
network. You can select the object to be acted upon from the Target Object tree
on the left. When you select an object of type lcaClassIdAppDevice, all of the
commands that apply to the device template for that object will be displayed in
the Commands Available tree.
The included commands are the ComponentApp objects registered at the
AppDevice, System and ObjectServer scopes. Regardless of the object type,
the Class ID and Target Path fields at the bottom of the dialog display
information from the selected object. Once an item is selected from the
Commands Available table, the Launch Plug-in button becomes active. This
allows the end user to create an instance of the plug-in and send it the selected
command.
For your reference, Table C.5 lists the various tasks performed by the example director
application, and lists the names of the classes containing the code that invokes these
tasks.
Table C.5 Example Director Application
Taks
GUI Code
LNS Interface Code
Initialize and open the
LNS Object Server.
FrmMain.InitNIs
FrmMain.InitNetworks
FrmMain.InitLNS
FrmMain.btnOpenNetwork_Click
List plug-in applications
previously registered
with Windows via the
Windows Registry.
FrmMain.ListPlugins
FrmMain.ProcessPlugIns
CPluginRegistry.InitFromRegistry
List plug-ins commands
previously registered
with the LNS Object
Server or System.
FrmMain.ListPlugins
FrmMain.ProcessPlugIns
Instantiate, initialize,
and send a register
command to a plug-in
application. Note
successful registration by
adding a ComponentApp
object.
FrmMain.btnRegister_Click
Send a command to a
plug-in application.
FrmMain.BtnLaunch_Click
CCommand.Launch