Jump to content

CLD example review


Recommended Posts

Hi everyone,

I have started preparing for CLD. This is my first try with Car wash example.

Please spare your some time for my example and tell me few tips, corrections.

I know there will be many points, may be bugs in my program. Also let me know how I can avoid using local variables and still update "Wash Options" control.

I have two local variables. How bad effect it will have on scoring ?

Also let me know if you will give me passing score or not out of 40.

I hope there are less bugs.16x16_smiley-wink.gif

Gaurav k

CLAD Certified !!!!!

100929-01.pdf

CLD Car wash.zip

Link to comment
  • 2 months later...

I know there will be many points, may be bugs in my program. Also let me know how I can avoid using local variables and still update "Wash Options" control.

I have two local variables. How bad effect it will have on scoring ?

Gaurav,

I'm not sure a couple of local variables would hurt your score all that much. If you really wanted to avoid using those you could make sure you've set the default values for all controls in the entry console, then create an invoke node for your cluster to reinit all to default values.

I think it's not a bad idea to have separate folders for your controls and subVIs as illustrated in the sample exam solutions.

You could consider using a typdef enum for your case selection. It might be faster to code than using strings, but I don't know that they would take away points for this.

I didn't check functionality/bugs, but at first glance it looks pretty clean and well documented.

Good luck!

Eric

Link to comment

I would use a project file but I don't know if that makes a difference for your score. Your timer uses the tick count function. There is always a risk of a rollover. Get date time in seconds is much better. Just add a to double to it so you can do comparisons. I don't know what I would give for a score but I would definitely give you a passing grade.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.