07-22-2011 11:21 AM
Dr Gray wrote " Get VI Dependencies method. "
So you have to use a invoke node and not a property node.
Callees used to be a property.
Reminds of one of those old Helen Kellar jokes.
Ben
07-22-2011 11:37 AM
Helen Keller for sure. Am I missing it?
07-22-2011 11:41 AM
07-22-2011 11:45 AM
The first propertry I mentioned was a property of the application.
The mehtod you are after is a method of the VI so (look at the image above) you need tostart with a VI ref to find that method.
Ben
07-22-2011 12:18 PM
Thanks for helping, people, but this still doesn't show how many of each block are used. Is there a way to do that?
07-22-2011 12:51 PM
Search this site for "scripting" to get started.
Scripting is LV functionality that will allow you to prgramatically interact with the diagram of a VI. You should be able traverse the diagram and inspect each node to get at how many of each on the diagram.
Warning: "If I take one more step I will have gone further than I have ever gone before" (Master Samwise Gangee, Fellowship of the Ring).
I stopped playing with scripting long before it became legal and public so I will not be able to guide a long your journey.
Ben
07-22-2011 01:08 PM
You have a couple of options, and I believe both will require the scripting API to be turned on:
Given your original question, I think 1. will work better for you. If you have further questions, keep asking. VI server calls / scripting can be complex and confusing.