07-14-2010 10:34 AM
Does anybody know if it possible from within Labview to generate a list of functions etc used in a particular vi?
It seems to me that such a list would be a helpful feature of any vi's documentation, especially when it has to be reused after an interval of some time.
Best regards,
nos
07-14-2010 10:36 AM
Nos,
i think you are talking about the VI hierarchy. It is already available.
hope this helps,
Norbert
07-14-2010 11:23 AM
Norbert,
Thank you for your response.
I was hoping for a more detailed list of functions from within the vi, the output that I get from your suggestion is shown in the attached pdf.
Best regards,
nos
07-14-2010 11:33 AM - edited 07-14-2010 11:43 AM
Are you looking for a list of the LV operators like "Add" Subtract", ... or are you looking for sub-VI's called by the caller?
If it the former, you will have to roll your own using scripting (see Darin's post due soon)..
"Callees" is posible using properties nodes starting with the top level VI and you can do stuff like this*.
Ben
* If that link does not work, sorry. Its an old link and some new broswers don't like it.
07-14-2010 11:40 AM
Try this, you can do similar searches for functions or structures or whatever.
07-15-2010 03:38 AM
Thanks for your responses.
After an interval of not working on a vi I never find it easy to recall the palette location of all the functions used. To make this easier I was hoping for some utility within Labview that might show where all the functions in the vi are located.
For example, after a gap of a few weeks it is not obvious to me that the 'First call' function is located within the Synchronization palette, so some kind of tree, similar to the link provided by Ben, see http://www.dsautomation.com/doctool/ , documenting the functions in a vi would be useful.
Best regards,
nos
07-15-2010 03:51 AM
nos,
not really an answer to your question, but maybe a workaround:
Have you ever tried to use Quick Drop? If not, try it if you find it a usable solution. You can open Quick Drop by pressing Ctrl+Space.
hope this helps,
Norbert
07-15-2010 07:32 AM
@nos wrote:
Thanks for your responses.
After an interval of not working on a vi I never find it easy to recall the palette location of all the functions used. To make this easier I was hoping for some utility within Labview that might show where all the functions in the vi are located.
For example, after a gap of a few weeks it is not obvious to me that the 'First call' function is located within the Synchronization palette, so some kind of tree, similar to the link provided by Ben, see http://www.dsautomation.com/doctool/ , documenting the functions in a vi would be useful.
Best regards,
nos
When I am working on a mahcine that does not have my Quick Drop Short cuts defined, I use the built in short cut for an operator when I need a function from the same palette. Even though I know which palette they are on, the sort cut reduce the milage on my old wrists. See below for the short cut from the First Call to the Syncronzation Palette.
Ben