06-18-2009 05:11 PM
Hi folks,
I have my CLD exams in 2 days and I just sat for almost 4 hours straight working on this old exam.
I would appreciate it if someone can sort psuedo-mark my exam and give me any feedback.
I am aware that I it is not 100% complete as that is all that I could finish in the given time.
Thanks in advance.
06-18-2009 05:58 PM
Mark required inputs. Not a big fan of breaking second loop on any error condition. Would be best to send a stop command to break second loop with creating an error.
06-18-2009 06:28 PM - edited 06-18-2009 06:38 PM
I don't know the grading standards, but here are some very general observations (They may not coincide with NI!).
This is free advice. Don't blame me if you get deductions based on my ideas. 😄
Oh, and if you like my color LED suggestion, feel free to give it a vote here. Thanks! 😄
06-18-2009 08:15 PM
Thanks for the feedback Mr. altenbach & Mr. Fitzsimons.
altenbach, I figured you would be one of the early ones to comment on my code and thanks for the detailed feedback.
What a nice feature is the "conditional terminal"for a for-loop! I never knew about it.
Btw, sorry for the maximized screens. Since I was in a rush, I figured the bigger my window the less cluter I have to deal with when writing my code.
Mr. Fitzsimons,
What do you mean by "Mark required inputs"?
Is it for the VI Documentation or in the block diagram?
06-18-2009 09:36 PM
Right click the terminal and set to Required. You VI won't run right unless you have an input. Required causes LabVIEW to not allow the code to run unless the terminal is connected. Good coding pratice and that is what the test is all about. Good Luck!
06-18-2009 09:58 PM
Understood. I generally do define required/optional inputs but I figured that woudn't be required based on the previous exam solutions.
Nevertheless, thanks and I will stick to my regular practice.
06-19-2009 07:27 AM
The LabVIEW style guide should be your reference. This is what they use to grade you.
http://www.ni.com/pdf/manuals/321393d.pdf#labview_style_guide
06-19-2009 01:22 PM - edited 06-19-2009 01:23 PM
Just to prove my point for the need of color LEDs, here's how the subVI would look like if we had an array of color LED on the FP.
This is significantly simpler than to iterate over the controls of a cluster via reference. 😉 Agreed?
(I am not saying you should do that for the CLD exam! :D)
06-19-2009 02:53 PM
I just did my exam today and altough I didn't finish it I am very confident that I will pass by the mercy of the Lord.
Like most CLD exams it had a FILE I/O section but I decided from the get go that I will not do it since it would hamper my over progress.
Hence, I completed the 80% of the project and from that I think I got 95% of it working with proper style & Full documentation.
Thanks for the reference Mr. Fitzsimons. It seems like I am on the rigth track and we'll find out in a month.
Mr. altenbach, suprisingly that's how I did the first time about a year ago.
Instead of boolean LEDs in the Front Panel, I actually put those color boxes as indicators.
Hopefully, NI folks will implement color LEDs like you mentioned and I voted on your LabVIEW IDEA exchange post.
Once again, thanks for the feedback folks.