LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 11/13/2006

I had almost forgotten about this nifty feature until someone reminded me of it the other day.  When a VI is running, the "font ring" in the toolbar becomes a much more useful tool...specifically, it gives you the call chain to the VI currently running.  Check out the screenshot below...this VI is being called several layers deep by the main VI, "Text Report Example.vi".  By clicking the transformed font ring, I can see the full call stack of the VI.
 
 
-D

P.S. - Check out past nuggets here.

Message Edited by Darren on 11-13-2006 10:39 AM

Message 1 of 7
(10,659 Views)
When I run my vi's, the font ring isn't shown, neither in main nor in sub-vi's.  How do you get it to show?
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 7
(10,638 Views)
It needs to be paused at a breakpoint.
Message 3 of 7
(10,633 Views)

Sorry, I forgot to mention that.  In order to see the call stack ring, the VI must be paused in some way...a breakpoint, using the Step functions, pressing the Pause button in the toolbar, etc...

-D

Message Edited by Darren on 11-13-2006 11:00 AM

0 Kudos
Message 4 of 7
(10,633 Views)
Did you know that there's another debugging menu a few pixels to the left of the Call Stack? The "Step Out" button is actually a menu! Save yourself a few clicks when climbing out of nested structures by holding down your mouse on this button and selecting the level you wish to step out to. You can even step out to caller VIs.

Sorry, Darren, if you were planning to use this for your nugget for next week.




Message Edited by jattas on 11-13-2006 11:20 AM

Message 5 of 7
(10,597 Views)

Hi Darren,

 

The call stack ring is not visible even after pausing the vi through break points. I am using LV 8.6. Should I enable / disable something else in the Tools->Options or some where else to achive this. Please let me know, since it is really interesting.

 

MRK (CLAD)

0 Kudos
Message 6 of 7
(6,892 Views)

Hi mrk1,

 

If you're looking at a lower level VI (a SubVI from the main one) it'll appear and show you all the levels above.

Jeff | LabVIEW Software Engineer
Message 7 of 7
(6,847 Views)