LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Traffic Light CLD Soln vs mine

richjoh,

the point everyone else is trying to make, is that in a task that is fairly trivial, like the car wash example, it doesnt really count for much if you can solve the problem. What counts is the manner in which it is solved, i.e. how you would go about solving a much, much bigger project. If a person has sloppy code on a simple application then it is assumed that things would only go from bad to worse in a real project.

In four hours they cannot ask you to do anything really complicated so the give a simple-ish task and see you tackle that, and from that can infer your skill level. It is not a perfect system however.

The thing is, if you want to pass (and I have not even done CLAD so I shouldn't be commenting here) then you need to learn the rules to pass the exam (i.e. work the system). What I mean is, if you desire to achieve the end result of having a certification, you have to whatever is necessary to pass, regardless of your personal preferences.  The irony is that working out what the rules are, and learning how to trick examiners into thinking you know exactly what is going on, actually ends up with you knowing what you should have known in the first place Smiley Very Happy

my 5 pence
Message 51 of 85
(2,239 Views)
OK, now for an objective comparision here, lets compare my top level VI size to NI's top level VI... Take a look at the pic you will see my VI size is 3.65X smaller the NI VI... Hmmm, maybe if I added all that stuff there making up, uuuhmmm, I mean marking up it would be larger.. I guess Smiley Surprised
0 Kudos
Message 52 of 85
(2,237 Views)

Nrp,
I'm no expert at LV, neither do I claim the task of Car Wash as trivial. RULES for passing the  CLD exam are known by NI and NI alone otherwise we would all know the grading method, and thats my personal opinion. I remember engineering as being tested on you getting the answer and adding up points showing how the answer was arrived. If the answer was not arrived well you got points for all things put correctly toward a final answer. So we can agree there are rules to follow to pass the exam, I just don't strictly code by them in real life work... I've had more experienced developers tell me conflicting recommendations against NI "stardard" way.

0 Kudos
Message 53 of 85
(2,231 Views)

Apparently, the both Authors of the NI practice CLD Traffic Light and Car Wash exam could have followed there own guidelines more strictly.

For the Traffic LIght exam, my top level VI is 77.2 kbytes vs the Author's 259 kbytes!!! Thats 3.35X smaller memory foot print, Wow!!! see attached. (Just like to mention this disclaimer, smaller size always  DOESN'T mean better.) Possibly, they didn't put much time into code and left it as is... Its the one thing (the size) I found I could compare.



Message Edited by richjoh on 04-18-2008 04:36 PM
0 Kudos
Message 54 of 85
(2,211 Views)
One thing to mention:
The examples are probably saved with LabVIEW 7, thus the disc size is probably twice the size of an 8.x VI.

The scoring of the exam is written down:

Applications are graded on the following three criteria:
  • Functionality
  • Programming style
  • Documentation
Each of the criteria have approximately equal weight.

Passing grade is 75% or higher.

So if your documentatoin is bad (0 points) and your style is bad (0 points) you will fail.

I think your examples will pass, but I am not sure with how much.

If I tell more I would be violating my CLD agreement.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 55 of 85
(2,165 Views)
I think it's fairly obvious that this guy has made up his own mind, and no amount of discussion will sway him, regardless of the fact that it's coming from people with a combined amount of experience that must be in the centuries.

Oh well, I'm sure that he'll probably write up code that will happily keep someone else employed when they have to go and clean it up. Smiley Very Happy
Message 56 of 85
(2,152 Views)
Just a little sidenote for everyone who never took any certification:
If you are thinking about taking the trials, you should get a friend of the NI style guide. And the best thing you can do is NOT to complain about it, but giving it a try in some smaller projects just to incorporate at least some of the styles.
And, maybe, maybe not, you will see some advantage for your daily projects by following the styles. If this happens, you will definetly have a much simpler start for your CLD. Nevertheless, it is no guarantee to pass it on your first try!

And to sum up the point richjo seems to follow all through the discussion:
Building software is a creative way and following too many rules will propably hinder creational thinkings (thinking out of the borders or something like that). That is of course true; but the style guide don't want to constrict the way of building algorithms, but wants to improve readability, scaleability over the whole project. So you can view the guide as a suggestion on how to translate an algorithm into code and not as a rule on how to build algorithms....

And never forget, in software engineering, the is no silver bullet 😉

just my personal, subjective thinkings
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 57 of 85
(2,117 Views)
Well said, Norbert. I have been programming in LabVIEW since v2, and I have never seen the Style Guide as a hindrance, limitation, or whatever. (Yes, I know the Style Guide wasn't out back then, but you get my point.) Indeed, I have seen the Style Guide as a tool to improve my programming implementation, rather than an impediment to the creative process. Do I agree with everyting that's in the Style Guide? Of course not. However, I think that dismissing it, claiming it's pedantic is hardly justified.
Message 58 of 85
(2,085 Views)
TonP,
If the exam were saved in LV 7 (this appears to be true), I resaved NI solutions for the Traffic Light and Car Wash in a project using LV 8.2.1. My VIs are still smaller than NI posted solutions...

The stats - Traffic Light 92.2kB vs NI 120kB, but this was a simpler VI/exam for that matter.

For Car Wash 101kB vs NI 202kB, this exam was not so simple

Is this bad choices on the block diagram as to why NI's Car Wash soln is TWO TIMES (2x) the size of mine? I'll let you be the judge. Regardless, my Main VI is quite simpler to follow compared to NI's Main VIs.

Let's clear up what I'm saying here... - NI solutions for the practice exams are not the best, in fact, I'll post a better one, explaining my steps. Sort of a tutorial... . I looked at NI solutions for guidance and was taken back by there complexity at solving the problem created probably by its author!!!

Lastly, over the weekend I started the CLD Security System Exam and didn't come up with a soln right away. The requirements demand even more effort than the Car Wash exam I mentioned about above. I have not look at the solution for the security system yet, I want to come up with mine first. I'll now start from a clean slate to attempt my solution for the CLD Security System exam

Message Edited by richjoh on 04-21-2008 01:46 PM

Message Edited by richjoh on 04-21-2008 01:48 PM

Message Edited by richjoh on 04-21-2008 01:49 PM
0 Kudos
Message 59 of 85
(2,060 Views)
Please don't just show the file size, it is meaningless.
 
Show the itemized list from "VI properties...memory usage" before running (but after saving in the current version if upgrading or downgrading). A freshly up- or downconverted VI is often less efficient until saved again in the current version.
0 Kudos
Message 60 of 85
(2,049 Views)