Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with CWArray and VC

I have CWArray as an Active X control with regular VC wrapping. That is, I have a class CCWarray in my code. When I use MaxMin1D method on this class, I get an error from Invoke method which appears to me that it indicates that the MaxMin1D method is not found. How can I resolve this problem?
0 Kudos
Message 1 of 2
(2,505 Views)
Hello

For using our functions, I would generally recommend using Measurement Studio tools for VC++, what this does is provide you with wrappers for our controls that are alot easier to use than the wrappers that the classwizard generates for you

Were you able to add a member variable from the class wizard? Were you able to add the class in the Class Wizard?What kind of error do you get?

Is this the only function or are you seeing this problem on other functions?

I would just try dropping the CWArray control on the form, press Ctrl-W (to bring up the class wizard) so that it adds the wrappers to your project. Then define a member variable for that control and try using the function.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,505 Views)