LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to bypass individual methods when using the Activex Automation Controller Wizard?

I am using the Activex Automation Wizard, but one particular object has a method that causes the error, "Function Parameter is not Activex Automation Compatible." I don't need this particular function, but I need another method from this object, but because of this error, LabWindows will not let me create the .fp file.

I was hoping there was a way to tell CVI to ignore the particular method that I don't want to use. Any insight would be appreciated.
0 Kudos
Message 1 of 2
(2,578 Views)
What version of CVI are you using by the way?

You can turn off interfaces from being generated, but not individual functions in an interface. I would suggest editing the type library yourself and removing the functions that are using none-ActiveX data types. Otherwise, you won't have a wrapper and will have to use the low level ActiveX functions in CVI's ActiveX library.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,578 Views)