LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate list of functions used in a vi

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

0 Kudos
Message 1 of 8
(3,374 Views)

Nos,

 

i think you are talking about the VI hierarchy. It is already available.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 8
(3,371 Views)

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

0 Kudos
Message 3 of 8
(3,352 Views)

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.

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 8
(3,340 Views)

Try this, you can do similar searches for functions or structures or whatever.

 

18933i5D1E57618B0F96C2

0 Kudos
Message 5 of 8
(3,336 Views)

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

0 Kudos
Message 6 of 8
(3,305 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 7 of 8
(3,303 Views)

@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.

 

19043i29CED628B8003B1D

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 8
(3,285 Views)