Test the lookup extension, Optional steps – Echelon OpenLDV User Manual
Page 132

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