LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

keyboard shortcut for Highlight Execution

Solved!
Go to solution

I wanted this feature for years but every time I checked over the years, no keyboard shortcut exists for the yellow bulb icon, on the FP menu, to "Highlight Execution".  

 

Also, wasn't there an enhancement where a section of the LV code will run "Highlight Execution" instead of popping down a break point to stop, then mouse click "Highlight Execution", then reverse the changes when I'm finished, adding up the mouse travelling. 

 

I'm using LV2020, was this implemented after LV2020?

0 Kudos
Message 1 of 7
(1,582 Views)

Well, the TopLevelDiagram class has the "Highlight Execution?" property going back quite a few versions, so it should be possible to do this yourself (QD shortcut, hijack a shortcut from the menus to activate for the current VI, etc.).

 

And yes, I'm pretty sure I also saw a demo of a breakpoint which can then enable the highlight. I'm assuming it was a QD shortcut or a shortcut menu option, which probably uses this property. It's also quite possible this was just an idea on the idea exchange. You can try searching for it in the relevant places or build it on your own.


___________________
Try to take over the world!
0 Kudos
Message 2 of 7
(1,540 Views)

Hi richjoh,

 

I found them somewhere in this forum, but don't remember the source...

 

Just place them in the dataflow!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Download All
0 Kudos
Message 3 of 7
(1,533 Views)
Solution
Accepted by topic author richjoh

You can do this with a toggle execution highlighting probe as well:

wiebeCARYA_0-1675937509327.png

It seems to be standard in LV20...

0 Kudos
Message 4 of 7
(1,515 Views)

Aahaaa, so toggle execution highlighting seems very useful.  It will eliminate doing-undoing 2-clicks for a break point, 1 click to highlight then the perform the reverse when done.  This cuts my mouse clicks to half, well from 6 to 4 actually!

 

Still doesn't cover what I thought I saw in an NI demo posted as a upcoming feature (I think).  Select the section of BD code you want highlighted (debuged) and turn Highlight on.  (A shortcut key to enable disable Highlight is desperately needed.) 

 

I don't see much use for the VI property node to enable highlight, it good to know it exist.

0 Kudos
Message 5 of 7
(1,501 Views)

@richjoh wrote:

Aahaaa, so toggle execution highlighting seems very useful.  It will eliminate doing-undoing 2-clicks for a break point, 1 click to highlight then the perform the reverse when done.  This cuts my mouse clicks to half, well from 6 to 4 actually!


I think it will save a lot more clicks the 2nd time?

0 Kudos
Message 6 of 7
(1,476 Views)

@richjoh wrote:

 

I don't see much use for the VI property node to enable highlight, it good to know it exist.


You could create your own QD shortcut  with it. It would be a pretty quick one to write.

 

The problem with standard menu shortcuts is that they were starting to get hard to invent, as a lot of them are already in use. And inventing new combos besides CTRL-something and CTRL-SHIFT-something isn’t that easy and intuitive either.

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 7
(1,435 Views)