LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX control

Solved!
Go to solution

Hi all!

 

I tried to use ActiveX automation to control the CANalyzer/Vector tool. The big problem is I cannot use some of its methods and properties, because generate errors. I wish to know why it is not implemented for all methods and all properties(this is a general question for all application, because are cases when you can't implement all methods/propierties). And what can I do to implement an ActiveX automation? In attachment is a view of what I'm trying to do.

 

Thanks!

0 Kudos
Message 1 of 6
(3,933 Views)
Your question is a bit unclear, and you seem to be saying two different things. Are you saying that you can't use the methods and properties because they generate errors, or because they're simply not even available for selection?
0 Kudos
Message 2 of 6
(3,918 Views)
I want to use some properties/methods which I described in my attach, but it doesn't works. My question was why is not implemented, because is not a bug or bad programming? And this is not the only case when I tried to use ActiveX to automate some tools(especially Vector Tools).
0 Kudos
Message 3 of 6
(3,907 Views)

I've never used this CAN program but if you want help in fixing your program so that it does not generate any errrors, you need to at least provide the errors and even better would be to attach your program.

 

If you determine that a method or property is not working the way it's documented, then you need to contact the vendor of the program. 

0 Kudos
Message 4 of 6
(3,897 Views)
Solution
Accepted by topic author Samoth
I investigated deep more and I saw that the property which I need (measurement setup) doesn't exist in ActiveX browser (see the attach), but it's specified in CANalyzer-> Help-> COM Hierarchy(see first attach)
0 Kudos
Message 5 of 6
(3,879 Views)
We don't have that specific ActiveX class so there's no way for us to check this. Have you verified that you are using the correct ActiveX classes? It seems suspicious to me that the "Configuration" property would be returned as a variant, and not as a true ActiveX class. Does the documentation indicate that this is supposed to be a variant?
Message Edited by smercurio_fc on 04-16-2009 09:58 AM
0 Kudos
Message 6 of 6
(3,863 Views)