LabVIEW

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

Darren's Occasional Nugget 04/12/2019

Highlighted

You probably know that you can right-click a wire and select "Clean Up Wire":

1.png

This is handy, but (1) it requires you to navigate a menu, and (2) it doesn't support multi-select.

 

Did you know that you can select a wire and press Ctrl-U to do the same thing? Or that you can select multiple wires and press Ctrl-U to clean them all up? 

DNatt, LV R&D
Message 1 of 10
(345 Views)

That's a long stretch even for my big hands.  Smiley Very Happy

 

Also Ctrl+B removes all broken wires. 

aputman
LabVIEW 2017
LabVIEW Programming
0 Kudos
Message 2 of 10
(331 Views)

All my wires are laid down neatly from the beginning, so I have no need for any of this. Smiley Very Happy


LabVIEW Champion Do more with less code and in less time
Message 3 of 10
(299 Views)

I'm midway between Darren and Christian -- I try to lay down straight wires, but I didn't know the ^U trick, and will try it out (as sometimes wires get a one-pixel "kink" ...) (and occasionally much worse, I'm ashamed to admit).

 

Bob Schor

Message 4 of 10
(279 Views)

Thanks Darren for the Nugget Ctrl-U.

Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 5 of 10
(256 Views)

One of those reasons I want the default setting changed for the block diagram grid spacing too match the shift arrow.   How nice would it be to have shift arrow move things 4, 5, 8, 12, whatever number of pixels you choose 

 

Hey, see the IEJeff is smart

0 Kudos
Message 6 of 10
(243 Views)

@Jeff·Þ·Bohrer wrote:

How nice would it be to have shift arrow move things 4, 5, 8, 12, whatever number of pixels you choose 


I am not sure what you mean by "shift arrow" and where would you chose the distance?

 

In general, <shift>+arrow aligns with the nearest grid line in that direction, i e. the shift distance depends on how far away the nearest grid line is (jump is anywhere between 1 and grid spacing. If we are already aligned with the grid, <shift>+arrow will move exactly by the grid spacing).

 

I sort of got used to that. So you want <shift>+arrow to move a constant distance, retaining the existing grid misalignment?


LabVIEW Champion Do more with less code and in less time
0 Kudos
Message 7 of 10
(222 Views)

@altenbach wrote:

@Jeff·Þ·Bohrer wrote:

How nice would it be to have shift arrow move things 4, 5, 8, 12, whatever number of pixels you choose 


I am not sure what you mean by "shift arrow" and where would you chose the distance?

 

In general, <shift>+arrow aligns with the nearest grid line in that direction, i e. the shift distance depends on how far away the nearest grid line is (jump is anywhere between 1 and grid spacing. If we are already aligned with the grid, <shift>+arrow will move exactly by the grid spacing).

 

I sort of got used to that. So you want <shift>+arrow to move a constant distance, retaining the existing grid misalignment?


Shift + an Arrow key ( up, down, left, right) moves selected things by 4 pixels on the block diagram.   On a front panel, it moves to the nearest grid space or a whole grid space up to 5 pixels.  ...silly strange behavior that should be looked at.

 

And,  select from tools>>options. Or VI properties grid spacing.  By vi or default for new vis,  (vi, ctl,vit, vim, ctt,  ctm,.  Etc)

0 Kudos
Message 8 of 10
(218 Views)

@Jeff·Þ·Bohrer wrote:
Shift + an Arrow key ( up, down, left, right) moves selected things by 4 pixels on the block diagram.

Ah, emphasis on "block diagram".


LabVIEW Champion Do more with less code and in less time
0 Kudos
Message 9 of 10
(215 Views)

@altenbach wrote:

@Jeff·Þ·Bohrer wrote:
Shift + an Arrow key ( up, down, left, right) moves selected things by 4 pixels on the block diagram.

Ah, emphasis on "block diagram".


As I said,   silly, strange behavior 

 

0 Kudos
Message 10 of 10
(197 Views)