03-09-2015 05:24 PM
Hi professional Labview people!
Can someone please tell me a shortcut method to connecting wires? I'm currently in a situation where I'm having to drag lots of wires from one end of a case to the other and takes forever to drag each wire. There's got to be a method or keystroke that I don't know to speed that up! 😄
Maybe there's a way to pick to points and boom! Wire there?
Thanks,
Solved! Go to Solution.
03-09-2015 05:28 PM - edited 03-09-2015 05:29 PM
Hi Merb,
why are there so many wires?
- Use a typedefed) cluster to bundle values, access only the elements you need in the case
- use linked inputs/outputs, when you want to create several cases in your case structure
03-09-2015 05:34 PM
Ok, that's true and I guess to say many or a bunch was an exageration of my part, but i've got like 4-5 wires that are on several cases which after using the :clean up diagram" throughout had just expanded the other case statments ...not sure why it does that when it does not affect it. I'm writing quite a big of a program with plenty of typedefs/clusters/SubVI's and such..it's nature of the beast, but like for example shift registers...oh man..please tell me theres better way than dragging wire 😞
thanks for your reply! Appreciate your input
03-09-2015 05:43 PM
Help for at least the case structure tunnels:
If you right-click on the output tunnel, you can select Linked Input Tunnel --> Create & Wire Unwired Cases and it will auto-wire all cases that aren't already wired and all future cases with a straight through wire. Sometimes you have to "show" LabVIEW which input tunnel it should be auto-wiring to.
Does that help any?
03-09-2015 06:14 PM
GerdW wrote: use linked inputs/outputs, when you want to create several cases in your case structure
I was super excited when Linked Tunnels came out with LabVIEW 8.6. I abused that as soon as I installed that copy of LabVIEW. That will save you HOURS in a fairly short time.
03-10-2015 12:08 AM
AAhh thank you Bill for the tip!!
03-10-2015 02:27 AM
Simplify structure to avoid using more wires.
Do you really need to shift value throughout all the states? You can try using default if unwired for cases that are not needed.
03-10-2015 05:13 AM
@adriano08 wrote:
Simplify structure to avoid using more wires.
Do you really need to shift value throughout all the states? You can try using default if unwired for cases that are not needed.
That is a very dangerous proposition and often leads to loss of data and bad architectures.
03-10-2015 01:02 PM
Is the block diagram bigger than your screen resulting in a lot of scrolling while wiring the terminals? For many reasons, it is best to keep your block diagrams small.
03-10-2015 02:07 PM
Hi Aputman,
Yeah you got it that's the reason really. I usually keep my windows as small as possible and my VI's very clean. I did the mistake of highlighting all and using the clean up wire tool (forgot name of it) and it just stretched out all the case statements and everything..not sure why it would do some of the things that it did like really separate some connections even though nothing in between. It would take me a while to rearrange everything. I just Ctrl-Z and went on with life, but I was curious if there was just a faster way than scrolling while wiring terminals.
I was not aware of Bill's trick. It did came in very handy.
Thanks.