03-13-2012 01:39 PM - edited 03-13-2012 01:40 PM
Hi,
This is my first time posting. I am studying to take the CLD and I have attached my solution to the Car Wash sample exam (LV2011) using a PC-Events architecture. I ignored the time constraints for now to see where I stand as far as functionality and style. I tried to be thorough (not creative) with documentation as well. Any feedback would be greatly appreciated.
Thanks!
Steve T., Engineer
NSTec
03-13-2012 03:33 PM - edited 03-13-2012 03:41 PM
Took a quick look at it. Not bad.
Things I think you could improve on.
03-13-2012 05:59 PM
Overall not bad clean readable code that does what it is supposed to do.
You have a BAD habit of saving everything on screen 2 (This is not technically a style ding but... it sure is annoying and do you really want to annoy the reviewer?)
Run it through the vi analizer- your BDs are too big (and some saved maximized) This will cost a style point.
Wash stages.vi has some serios problems that will cost additional points:
Points I would point out that may save you down the road:
This will help with code readability and BD sizing
Tip strips on everything the user can see! and use them to explain the purpose of the object (What the user sees, what will happen if the user presses that)
this looks like a middle pass. missing points for style and documentation (Those tip strips really ARE the #1 communication from developer to user- important!) watch out for those BD sizes! and good luck
03-15-2012 10:44 AM
Great, thanks for the feedback. Any chance you can show me how you use the queue naming and the sub vi in this way? I've played with it but my attempts do nothing to improve the BD.
Thanks
03-15-2012 03:57 PM
@Steve Tomany wrote:
Great, thanks for the feedback. Any chance you can show me how you use the queue naming and the sub vi in this way? I've played with it but my attempts do nothing to improve the BD.
Thanks
Sure, Here is a copy of my PC loop (events) template with the consumer loop as a sub-vi (Type Defs disconnected)
(NOTE: my template contains vi documentation template as well) This won't save you on the CLD exam since the shipping templates are all you can use. But having your own for "Real Life" sure speeds up programming time.
01-17-2017 04:21 AM
please can you give me the solution he doesn't execute as normal