ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

COM Objects Hierarchy

Solved!
Go to solution

Hi all,

 

I wish to know where can I find a "map", hierarchy of all methods&property for an application(like Microsoft Word, Excel) , to acces then ActiveX classes in LabVIEW. For example for Vector tool (CANape,CANalyzer,CANoe) if you type in Help -> COM Hierachy you find a map of all objects that you can access whithin ActiveX automation.

 

Thanks!

0 Kudos
Message 1 of 6
(4,526 Views)

 

 

I don't think one of those exist.

 

Would be nice though.

 

I started to do one of those manually years ago (when reference were first introduced) but before I was done I noticed the pattern. 

 

Drop an

 

Application Control >>> Class Specifier Constant

 

on a diagram and pop-up and choose "select VI Server Class" to see all of the possilbe classes.

 

 

After selecting a class wire it to BOTH a property node and a Invoke node to find all of the properties and methods for each class.

 

Have fun!

 

Ben

Message Edited by Ben on 04-23-2009 06:05 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 6
(4,516 Views)

Thanks a lot. This will help me.

 

Have a nice day!

0 Kudos
Message 3 of 6
(4,506 Views)

For Labview Classes I always did whad Ben suggested, by dropping the reference to the hierarchy down and then navagating through property nodes UNTIL I recently stumbled across the Class Browser.  Get to it through View->Class Browser menu or Ctrl-Shift-B.  I dont know when it showed up but I like it.  Essentially a tree structure browser of the entire Labview Reference Hiererchy as well as so much more (.net assemblies, ACtiveX .......).  Is really a nice tool, very underused.  I would guess that most people doent know about it.

 

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 4 of 6
(4,489 Views)
Solution
Accepted by Samoth
The class browser allows not only navigation of all objects in labview including activeX components but it implements a direct property or invoke node generation.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 6
(4,471 Views)
Thanks Paul!
0 Kudos
Message 6 of 6
(4,440 Views)