01-20-2009 08:12 AM
Hi!
When you pull up the VI hierarchy for a program, you get a diagram showing every polymorphic version of a VI used in your program (at least I do). Is a check box hiding somewhere that I haven't found that will only put the VIs in the hierarchy that I actually call in my program? For example, if I use the "DAQmx Create Virtual Channel" polymorphic VI in my program, and only the "AI Input" version is used, I still get every version, which is several, listed in the VI hierarchy. This clutters the diagram quite a bit. Instead of one icon appearing in the hierarchy, it is more like 20 or 30.
Anybody out there know what can be done? Thanks for any help you can give me.
Solved! Go to Solution.
01-21-2009 07:16 AM
I meant to say "AI Voltage" when I said "AI Input" in the first message.
I guess no one else out there has this problem. Thanks to everyone who read my first post. I appreciate it.
01-21-2009 09:48 AM
01-21-2009 10:19 AM
Thanks, Jeff, for confirming what I was afraid of. I was wondering where they hid that darn check box!
I am guessing the code that creates the VI hierarchy diagram must have been written before polymorphic VIs, and it loops through finding all loaded VIs to add them to the diagram. When any one version of a polymorphic VI is called, all the versions get loaded and found by the code that creates the diagram. If only the specific version of a polymorphic VI loads, then this theory doesn't work.
If I've helped you, and me, get this feature implemented, I am glad I could be of assistance.
I appreciate your reply.