LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

browse relationships

We are using the LabVIEW ProMetrics Compute Metrics for Display.vi (from NI) in an automated fashion to generate metrics on VIs at the folder/subfolder level.  The ProMetrics VI, however, will not (automatically) delve into the selected VI and tell you what the metrics are for all its subVIs. If you have all the subVIs open, it will show you their metrics, but it won't do this automatically when just one VI is selected.
 
Is there a way to invoke the Browse Relationships -> This VI's SubVIs (as would be done from the menus) to generate a list of VIs to pass to the Prometrics Compute VI, and therefore generate the true metrics for a VI (and its subVIs)?
0 Kudos
Message 1 of 2
(2,640 Views)

Hi mrbean,

Thanks for contacting National Instruments!  I have been looking into your question and I noticed that you have asked something similar to this, but not exactly the same previously.  The attached link below is one that I found from a post of yours that I think will work well with your question here.  Like mentioned before in that post, the VI that you are using is only capable of generating metrics on VIs that are in memory.  The best kind of workaround that I have found is to use the "Callees' Names" property node for the specific VI that you are using and then to concatenate a string that will have the path of the VI.  This way you can use this path to call the specific VI you are wanting the metrics for and use the method in the linked post, which will end up giving you an array that will contain the metrics for the VIs.  I hope this helps you out some and feel free to post back if you have any more questions about this issue.  Thanks!

http://forums.ni.com/ni/board/message?board.id=170&message.id=210744&view=by_date_ascending&page=1

Message Edited by Noah R on 10-17-2007 10:56 AM

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,614 Views)