Echelon OpenLDV User Manual Page 140

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 139
132 Extending xDriver
6. For the Lookup tab of the OpenLDV xDriver Profile Properties dialog for
the new profile, select the newly built profile from the Extension Name
dropdown listbox, as shown in Figure 35.
Figure 35. OpenLDV xDriver Profile Properties Lookup Tab
7. Make any other changes that are appropriate for your custom profile, and
click OK to accept the changes and close the dialog.
Test the Lookup Extension
Create an RNI for your custom xDriver lookup extension, and give it a name like
X.Sample.DownlinkKey”. Use an OpenLDV client program to open the RNI for
the custom extension to see calls for the following methods:
ILdvxConfigure::SetInstance
ILdvxConfigure::SetOptions
ILdvxLookup::DownlinkLookup
Note: Until these methods are implemented (see Implement the ILdvxLookup
Interface on page 129), the default E_NOTIMPL return status will cause the
startup sequence to fail.
Sample Lookup Extension Component
The SampleLookupCsv.cpp program is an xDriver lookup extension written in
C++. The SampleLookupVBNet.vb program is an xDriver lookup extension
Component written in Microsoft Visual Basic .NET. You can find these samples
in the LonWorks Data Path folder:
Page view 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 193 194

Comments to this Manuals

No comments