LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CLD exam- Wire bends/overlaps

Solved!
Go to solution

Hi everyone , i m preparing for my CLD exams. When i went through exam instructions, it is mentioned as no wire bending/ wire overlapping in programs. I tried to avoid wire bending in my practice programs but not able to do a program without bending wires or running overlapping wires in program(especially for shift registers). What i really want to know is any program can be done without wire bends or overlaps?Even for Bundle cluster , we need to bend wires since i/p and o/p locations are different. So kindly clarify my doubt since this wire bending is making me worried a bit for my exam preparation..

0 Kudos
Message 1 of 14
(1,255 Views)

We all know wires have to bend sometimes.  But, unnecessary wire bends and unnecessary wire crossings show a lack of style and make your code look anywhere between sloppy and unreadable. Any prospective CLD should code cleanly and know how to leave space for function / vi inputs and outputs and choose a good layout naturally.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 14
(1,235 Views)

@Melchizedek24 wrote:

Hi everyone , i m preparing for my CLD exams. When i went through exam instructions, it is mentioned as no wire bending/ wire overlapping in programs. I tried to avoid wire bending in my practice programs but not able to do a program without bending wires or running overlapping wires in program(especially for shift registers). What i really want to know is any program can be done without wire bends or overlaps?Even for Bundle cluster , we need to bend wires since i/p and o/p locations are different. So kindly clarify my doubt since this wire bending is making me worried a bit for my exam preparation..


So just do your best to avoid them.  I would think of it as "unnecessary" bends and crossings.  I think if you go in with that mindset, you'll be okay.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 14
(1,198 Views)

I'd avoid nodes overlapping wires though. At least in the CLD.

 

I gave up on routing my wires around structures, although I do have strict rules when wiring behind a structure (e.g. the wire should be straight).

 

Again: no nodes\structures overlapping wires (or nodes\structures) for the CLD.

wiebeCARYA_0-1694004830759.png

 

 

Message 4 of 14
(1,187 Views)

I agree the 3rd one is the best. As to the others, the 1st is prettiest, but i loathe the hidden wire. The 2nd is clear, but not beautiful.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 14
(1,172 Views)
Solution
Accepted by topic author Melchizedek24

@Yamaeda wrote:

I agree the 3rd one is the best. As to the others, the 1st is prettiest, but i loathe the hidden wire. The 2nd is clear, but not beautiful.


It gets worse if there are more shift registers. 1 gets uglier, 3 impossible (for instance if more than 1 wires are used n the structure.

 

I've been told JeffK uses a stacked sequence structure:

wiebeCARYA_0-1694073938435.png

This might be the purest solution. To me it doesn't really add enough to do the extra work.

 

EDIT: I won't be surprised if you loose CLD points for using a SSS, even though it's usage here is appropriate.

0 Kudos
Message 6 of 14
(1,129 Views)

Sometimes i wire through a case even if nothing happens just to keep the wires straight. ^^

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 7 of 14
(1,115 Views)

@Yamaeda wrote:

Sometimes i wire through a case even if nothing happens just to keep the wires straight. ^^


If not used at all I'd wire behind it.

 

But if a property is read in the structure (from a class wire) I do often wire it through even though the output didn't change...

Message 8 of 14
(1,104 Views)

In the above mentioned example, innstead of 3 shift registers, can we club them into a songle cluster and pass down as a single line? would it look good if it is used as a cluster?

0 Kudos
Message 9 of 14
(1,053 Views)

Thanks for the tip.

0 Kudos
Message 10 of 14
(1,052 Views)