DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI DataFinder ActiveX object in SUD

Hello,

I would like to use the NI DataFinder ResultsDisplay ActiveX-Object in a SUD.
Unfortunately I could not find any Documentation on the properties and methods of the NI DataFinder ActiveX Objects.

I know I can control ActiveX-objects by using

This.X

e.g. in an event handler. But I don't know the specific properties or methods for the NI DataFinder ActiveX-Objects.

Could someone tell me where I can find the Documentation about this?



Thank You!


benebelt1

0 Kudos
Message 1 of 5
(1,826 Views)

Hi benebelt1,

 

I can understand why you would like to use the ResultsList ActiveX object in a SUDialog.  DIAdem has even in the past supported the use of ActiveX objects from the NAVIGATOR to some degree.  I asked R&D about this object, and they said that it was not designed for customer use, that it's connected to under-the-hood DIAdem source code in a way that would make it hard to use in the SUDialog context.  They also said that it's not on the priority list to refactor or even to document.  So I have raised the idea, and maybe if that happens enough times they will reconsider, but for the time being... there is no documentation that you can use for SUDialog integration.

 

Please feel free to post this request officially at the DIAdemIdeas page

https://forums.ni.com/t5/DIAdem-Idea-Exchange/idb-p/diademideas

 

Sorry for the bad news,

Brad Turpin

Principal Technical Support Engineer

NI

0 Kudos
Message 2 of 5
(1,783 Views)

Hi Brad,

thank you for the background information and the advice! Really helped me not to become desperate.

As I searched for information about using the NI Datafinder ActiveX objects in a SUD I was actually able to find this post:
How to update the ActiveX Results Display in SUD - NI Community

So someone seems to use the ActiveX objects in a SUD but I have no idea how he got so far.


Per trial and error I was able to find out that

 

This.X.ResultsElements

and

This.X.ResultsProperties

 

throw an "Argument not optional" error. So they seem to be methods of the activeX Results Display object.

 

 

 

 benebelt1

0 Kudos
Message 3 of 5
(1,764 Views)

Hi benebelt1,

 

I can't help you figure out what the required arguments are or how to set them.  The word from R&D is that there is no documentation how to use the ActiveX object standalone.  I don't have this information to share with you.  Even if you or someone else in the web manages to sleuth a solution based on the ActiveX object, there's no guarantee that such a solution would continue to work in a subsequent version of DIAdem or Windows.

 

I recommend you cast about for a different implementation.

 

Brad Turpin

Principal Technical Support Engineer

NI

0 Kudos
Message 4 of 5
(1,727 Views)

Hi Brad,

Yeah, I already found a different implementation after I got help from you on another topic.

I was just curious about it:)

Thank you very much for your help!


benebelt1

0 Kudos
Message 5 of 5
(1,715 Views)