11-20-2008 12:49 PM
With the same DLL, there are two methods missing when I used ActiveX Controller Wizard in CVI but I can see the metods in LABVIEW.
11-21-2008 11:42 AM
Hello wlshieh,
I have a few additional questions for you:
Thanks in advance!
11-25-2008 02:51 AM
Sorry, I can not post the DLL. Is there another way for you to try to duplicate the behavior?
11-25-2008 03:09 AM
I believe the DLL was written in c or c++.
Both methods scan the system to return a list of currently connected devices.
11-26-2008 10:22 AM
I definitely understand how circumstances may prevent you from posting the DLL, so I will try to help you the best I can without it. Were the functions present in the .fp that was originally created? That is, the undertaking you have outlined usually has two steps. First, you use the ActiveX controller wizard to generate LabWindows/CVI code from an existing ActiveX server. Second, you create a DLL from this code to be used elsewhere. So to reiterate my question, were the missing functions available in the first of these steps? I would assume they were as they were available to you in LabVIEW. This brings me to my next question. In what environment are the functions missing? If they are missing in CVI, why not eliminate the aforementioned second step and simply use the product of the ActiveX controller wizard? I look forward to your responses and helping you resolve this issue as soon as possible!
12-01-2008 11:53 AM
12-02-2008 03:56 PM
12-03-2008 12:07 PM
I was using the ActiveX controller wizard to generate LabWindows/CVI code from an existing ActiveX DLL. From the DLL interface document, I found that there are two functions are missing so I use LabView functions Automation Open and Invoke Node to double check. Please see attached file for the screen captures from LabView and CVI. The functions missing are FindAvmc and FindAvmcEx. Could you tell me what are the difference between CVI and LabView?
12-04-2008 08:53 AM
12-04-2008 11:52 AM
1. Yes, It is the case.
2. You requested I try to interact with the "existing ActiveX DLL directly" (sans ActiveX controller wizard). How is this done? I have not done this before.
Thanks,
William