Echelon OpenLDV User Manual Page 132

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 131
124 Extending xDriver
Figure 27. 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 119), the default E_NOTIMPL return status will cause the
startup sequence to fail.
Optional Steps
The following steps are optional:
Add implemented ILdvxLookup interfaces to the sample component’s
type library; add the following to the library section of
SampleLookup.idl:
importlib("Ldvx.tlb"); // TLB must be in PATH
interface ILdvxLookup; // add to coclass SampleLookupCsv
Page view 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 193 194

Comments to this Manuals

No comments