PJM_labview Posted October 25, 2005 Report Share Posted October 25, 2005 The title says it all. Like this utility, this one dynamically generate the LV8.0 Class Hierarchy. If you dont want to wait the 15-45min (LV 8.0 has about 220 classes, thus the increased in time to generate all the combinations) for the generation to complete, you can just open the provided file. Have Fun PJM Download File:post-121-1130213263.zip Quote Link to comment
Mike Ashe Posted October 28, 2005 Report Share Posted October 28, 2005 The title says it all. And "Thank you once again" is the proper response Quote Link to comment
Yair Posted October 30, 2005 Report Share Posted October 30, 2005 Just in case you haven't noticed it, 8.0 already has a built in class browser, which also allows you to drag property and invoke nodes directly to the diagram (yeah!!!). Is there any advantage your version has over it (other than working for earlier versions - I have it in 7.0)? Quote Link to comment
PJM_labview Posted October 30, 2005 Author Report Share Posted October 30, 2005 Just in case you haven't noticed it, 8.0 already has a built in class browser, which also allows you to drag property and invoke nodes directly to the diagram (yeah!!!). Is there any advantage your version has over it (other than working for earlier versions - I have it in 7.0)? NI Disable part of the scripting in LV8.0. Therefore the class browser does not show any of the class hierachy for the diagram related classes such as Master Diagram, Diagram, tunnel, nodes ...... (see below) This utility does show the *complete* (as far as I know) class hierachy and demonstrate how to build it. PJM Quote Link to comment
Yair Posted October 31, 2005 Report Share Posted October 31, 2005 NI Disable part of the scripting in LV8.0. Therefore the class browser does not show any of the class hierachy for the diagram related classes such as Master Diagram, Diagram, tunnel, nodes ...... But since we can't access those classes anyway (at least for now), that seems to be at least partly irrelevant. It appears that the LV class browser exposes classes according to how you use LV (which makes sense) - if you used the scripting key we know about, you get some of the hidden stuff. I assume (perhaps wrongly) that when the other key is used, you will get the other classes as well. Quote Link to comment
m3nth Posted November 1, 2005 Report Share Posted November 1, 2005 PJM, Got this error message when trying to open your VI: Get Class Name and ID for a Specific LV Version__ClassHierarchyBuilder.vi - The control expected to be at "C:\Documents and Settings\LV Classes Name & Id Tools\Custom Controls\Class Active Status - Enum -.ctl" was loaded from ... No control found for the typedef so I tried to make the control a typedef and it still didn't like that. I eventually deleted the whole event which builds the class list in order to see the saved file. Ok so now that I can actually see the tree.... Is there anyone who can figure out how to create these items using the New Object function or something similiar? (I think it was called New Object). Quote Link to comment
PJM_labview Posted November 2, 2005 Author Report Share Posted November 2, 2005 PJM, Got this error message when trying to open your VI: Get Class Name and ID for a Specific LV Version__ClassHierarchyBuilder.vi - The control expected to be at "C:\Documents and Settings\LV Classes Name & Id Tools\Custom Controls\Class Active Status - Enum -.ctl" was loaded from ... No control found for the typedef so I tried to make the control a typedef and it still didn't like that. I eventually deleted the whole event which builds the class list in order to see the saved file. My bad. I dont know how this one slip through the crack. You could just find the strict type def call and right click on it and say disconnect from type def. Attached is a fixed version (hopefully bug free) Is there anyone who can figure out how to create these items using the New Object function or something similiar? (I think it was called New Object). Which Item? The Class Specifier Constant ? If so the llb has code in it to do that. PJM Edit:Doh! Forgot the modified Attachement. Download File:post-121-1130901184.zip Quote Link to comment
Michael Aivaliotis Posted November 5, 2005 Report Share Posted November 5, 2005 But since we can't access those classes anyway (at least for now), that seems to be at least partly irrelevant. It appears that the LV class browser exposes classes according to how you use LV (which makes sense) - if you used the scripting key we know about, you get some of the hidden stuff. I assume (perhaps wrongly) that when the other key is used, you will get the other classes as well. Have you looked at the code? Do you need everything spelled out for you? Quote Link to comment
Michael Aivaliotis Posted November 5, 2005 Report Share Posted November 5, 2005 If you dont want to wait the 15-45min (LV 8.0 has about 220 classes, thus the increased in time to generate all the combinations) for the generation to complete, you can just open the provided file. PJM It takes about 15min. on my machine. Also, you can add the following bit of code to display the pre-made hierarchy faster. This will avoid having to wait for the list to populate: Quote Link to comment
m3nth Posted November 5, 2005 Report Share Posted November 5, 2005 Have you looked at the code? Do you need everything spelled out for you? What does that mean? I understand PJM's post you quoted--these questions I don't. Quote Link to comment
Yair Posted November 6, 2005 Report Share Posted November 6, 2005 Have you looked at the code? Do you need everything spelled out for you? I don't understand this either. I haven't looked at the 8.0 version, but I know exactly what the 7.0 version does and I assume this does the same. I still say that if you can't access the classes exposed using this tool, then it is still partly irrelevant (it's good to know the class tree, but you can't do anything with it, so it's "worthless"). Like I said, I assume that when you use the INI key which exposes these properties and methods, you will see them in NI's class browser, thus removing that "flaw" in it. Quote Link to comment
Jim Kring Posted November 6, 2005 Report Share Posted November 6, 2005 What does that mean? I understand PJM's post you quoted--these questions I don't. I still say that if you can't access the classes exposed using this tool, then it is still partly irrelevant (it's good to know the class tree, but you can't do anything with it, so it's "worthless"). There's an old saying... "You can lead a horse to water, but you can't make him drink" Quote Link to comment
hviewlabs Posted February 12, 2006 Report Share Posted February 12, 2006 There's an old saying... "You can lead a horse to water, but you can't make him drink" Well you can still try to put his face into the water: Property and Method Selection Assistant: http://forums.lavausergroup.org/index.php?...findpost&p=9304 Quote Link to comment
i2dx Posted February 12, 2006 Report Share Posted February 12, 2006 Thanks, PJM, for doing all the work and contributing this nice tool to the community! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.