LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
therealkilkenny

User defined partial Highlight Execution

Status: Completed

Available in LabVIEW 2019 and later. Right-click any wire and select Custom Probe > Toggle Execution Highlighting. Place one of these probes before and after the section of code you want to run with highlight execution enabled.

I would love to be able to draw a box over a bit of code on the block diaghram and be able to highlight execution just for what's in the box. The rest of the code should execute at full speed. This frequently becomes an issue when you are trying to track down a bug in a big program and you've got to wait for ages to get to the bit your interested in.
15 Comments
tst
Knight of NI Knight of NI
Knight of NI
You should note that you can already do something like this today - you can set a breakpoint (or, even better, a conditional breakpoint) at the point where you want to start highlighting. Then, when the code pauses, you turn on highlighting and press the pause button to get the VI to continue running.

___________________
Try to take over the world!
therealkilkenny
Member
Thanks for that TST. Your right and that is a helpful way of going about it.
crelf
Trusted Enthusiast
Sure tst, you can do that, but if I'm continually tweaking a bit of code with different values, then using that method is laborious.  I like therealkilkenny's idea.




Copyright © 2004-2023 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
orbarrett
Member

therealkilkenny,

 

Thanks for your contribution!  I suggested the same at the Bay Area LabVIEW User Group Meeting last week.

altenbach
Knight of NI
See also this old 3+ year old thread where I basically proposed the same. 😉 I also still like my second suggestion to keep the other debugging buttons active during highlighting, to e.g.  quickly finish a loop and continue highlighting at the next structure, for example.
AristosQueue (NI)
NI Employee (retired)
As a mechanism for marking the region, I would like to see something like a breakpoint that is a "Start Hilighting" point and another "Stop Hilighting" somewhere downstream. Then you could make sure that the hilighting starts when it hits your "region of interest". And if you're between those two points, if you step into a subVI, I'd like to see exec hilighting automatically be on for that subVI, and turned off again when you step out of that subVI.
muks
Proven Zealot
Sure. I was abt to suggest this...
Ray.R
Knight of NI

I agree with Aristos "Q".  Set something like highlight breakpoints.  Doing it manually is tedious.

Nandagopal
Member

abt to suggest this... found in the search.Anyways.. good one

sayak
Member

 about to post this one...:)