Car Wash Review

Hi All - 
I'm planning on taking the CLD in a week and a half or so. Would any of you mind reviewing my car wash practice exam? I posted some other practice exams in June, but I have changed my approach and would appreciate another review. 
Thanks!
Attachments:
Car Wash - 11-21-2012.zip ‏239 KB

Overall Very nicely designed I think you pretty much understand what you did right.  So accept my appologies in advance for nitpicking on the areas you can improve in the next week.
BD Size.  Get them more compact! most are saved with way too much whitespace.  The difference is night and day about how much actual information the developer can fit on one screen white space just hides another pane that could present information
Lets look at that same AE Again. a couple more edits are desirable.  See notes in snippet.
Again nice work
Jeff

Similar Messages

  • Please review this Car Wash Solution with Queue LV 2014

    Any advice would be greatly appreciated...honest
    Attachments:
    CarWash with queue LV 2014.zip ‏183 KB

    Hi again Matt.
    I came up with 2 solutions for dealing with errors.
    1)Generate an error message containing words that let the user know the program must be manually exited due to an error
    2)Generate a user event in the consumer loop that lets the producer loop know it must quit the program due to error and show a dialog on the way out
    To test this I added a Button named error that enqueues a command that  causes the consumer loop to generates an error
    Also quiting the producer loop and releasing the queue was generating an error in the consumer loop which caused it to stop
     from the error case.
    That works but badly so a better way was to enqueue a quit command to the consumer loop. Done in both updates.
    If I were doing the exam I would use the first in the interests of time. Crude but lets the user know.
    I attached both versions in case others were interested.
    Attachments:
    Car Wash simple error.vi ‏79 KB
    Car Wash reg events.vi ‏82 KB

  • CLD Practice Review - Car Wash

    Hey, so I've done all 4 available CLD Prep Exams.  I was curious if I could get some feedback on the Car Wash.  This, imo, was the easiest of them all and so I was wondering what kind of marks I would end up getting with the attached as the end result.  Like, just how many "unnecessary bends" are present in my code?  What does it need?  The code is in 2011 SP1.  Thank you.
    Remember, code does exactly what you tell it.
    Attachments:
    Car Wash.zip ‏89 KB

    Well while we wait for the thread to be moved here are some comments:
    Your main has uninitialized shift registers for no reason.  They should be initialized with constants.
    All of your VIs are missing VI Icons
    All of your VIs are missing VI Descriptions
    Saved controls are also missing icon and description
    Your front panel controls don't have tip strips, or descriptions
    Wires are routed behind structures in a couple VIs
    There are far too few comments.  All cases in the state machine needs comments explaining what the state is for.
    I also don't remember all the requirements so there is likly funcitonal things I don't remember.  Like aren't controls supposed to be disabled when a car is going through the wash?
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Sample CLD (Car Wash) Solution for Review

    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
    Steve T., Engineer, CLAD
    Albuquerque, NM
    Attachments:
    Car Wash.zip ‏128 KB

    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.
    Jeff
    Attachments:
    ProducerConsumerEventsSilver.vi ‏35 KB
    Consumer.vi ‏22 KB

  • My Car Wash CLD Example

    Hello,
    I just completed the Car Wash CLD example using a modified producer/consumer with events pattern. I would like any feedback regarding the implementation.
    Thanks!
    Attachments:
    CarWash.zip ‏163 KB

    Hopefully this is still helpful. I would've reviewed last week but I just finished this example myself.
    I think you'd earn solid marks for coding style. Your code is clean, organized, and well-commented/documented.
    Unfortunately, I can't seem to get many of the functions to work as expected... the architecture is also pretty complicated. I noticed a few instances of elements being self-enqueued into the same state machine. This is a bit challenging to follow and (possibly?) debug.
    http://linkd.in/mikele

  • Cant figure out what error in my car wash tunnels

    I made a vi to practice the car wash CLD sample question. And labview says there is missing assignment in every one of my 10 tunnels. But I checked, there is an enum array going into every one of 10 the tunnels. Where did the error come from? 
    I cant figure it out!   My tunnels look exactly like the one in the CLD sample answer attached.
    Solved!
    Go to Solution.
    Attachments:
    Car Wash LV86.zip ‏73 KB
    sunflower car wash 100.zip ‏44 KB

    Hi,
    Just move that Enum tunnel upward which you are indicating in RED arrow. You can find a unwired tunnel.Just delete that. Since it has been overlapped you are not able to see.
    Thats it.All your error will vanish.

  • Need help w/ my automatic car wash router

    It's hard to explain but we have an automatic car wash that emails us nightly reports and also emails us when there is an issue with the machine. We have had it all set up for over 2 years. All worked fine until a few weeks ago. We can still get in it remotely and clear any issues or change settings but it will no longer send us emails. We have called the interenet 3 times. No help! We have put a new part in the machine itself..didn't work. could it be our router. I cannot get into our router to look at the settings. Any help would be appreciated.

    What model is this router?
    What Firmware version is currently loaded?
    What region are you located?
    Was a Factory Reset performed before and after any firmware updates then set up from scratch?
    Was the router working before any firmware updates? Is Auto Update enabled?
    Internet Service Provider and Modem Configurations
    What ISP Service do you have? Cable or DSL?
    What ISP Modem Mfr. and model # do you have?
    Is ISP Modem/Service using Dynamic or Static WAN IP addressing?
    What ISP Modem service link speeds UP and Down do you have?
    Check cable between Modem and Router, swap out to be sure. Link>http://en.wikipedia.org/wiki/CAT6 is recommended.
    Check ISP MTU requirements, Cable is usually 1500, DSL is around 1492 down to 1472. Call the ISP and ask.
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=88e63d78588142e6bb68e22d7faf2046_Configuring_the_M...
    For DSL/PPPoE connections on the router, ensure that "Always ON" option is enabled.
    If the ISP modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems: Link>http://www.practicallynetworked.com/networking/fixing_double_nat.htm and http://cognitiveanomalies.com/cisco-nat-how-nat-works/ If the modem can't be bridged then see if the modem has a DMZ option and input the IP address the router gets from the modem and put that into the modems DMZ. 
    I recommend that you have your ISP check the cabling going to the ISP modem, check signal levels going to the ISP modem. For cable Internet, RG-6 coaxial cable is needed, not RG-59. Check for t.v. line splitters and remove them as they can introduce noise on the line and lower the signal going to the ISP modem. Connecting to the ISP modem could result in a false positive as the signal to the modem could be just enough to that point then adding on a router, could see problems. Ensure modem is working well too. Bad modems are out there as well. The router operation is dependent upon getting good data flow from the ISP modem and the modem is dependent upon getting good signal from the ISP Service.
    What wireless modes are you using? 
    2.4Ghz Routers only: Try single mode G or N or mixed G and N?
    2.4Ghz and 5Ghz routers: Try single mode G or N or mixed G and N on 2.4Ghz and single mode N or Mixed on 5Ghz?
    Channel Width set for Auto 20/40Mhz.
    Try setting a manual Channel to a open or unused channel. 1, 6 or 11. 11 for single mode N if the channel is clear. 13 for EU regions. Try channel 48 or 149 on 5Ghz. http://en.wikipedia.org/wiki/List_of_WLAN_channels
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=f2625b15a5d7454b8e7fafbe65d5aa63_4009.xml&pid=80&r...
    What security mode are you using? Preferred security is WPA-Personal. WPA2 Only. http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=8ce9e83bd3784001aee72da7f1ef48e8_Changing_the_basi...
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=19073
    What wireless devices do you have connected?
    Ensure any devices with WiFi adapter drivers are updated.
    Any 2.4Ghz or 5Ghz cordless house phones or WiFi APs near by?
    Any other WiFi routers in the area? Link> Use http://www.techspot.com/downloads/5936-inssider.html to find out. Use v3. How many?
    WMM Support must be enabled for single wireless N mode to function.
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&articleid=5471
    Router Placement
    Forum User - "Well I feel really dumb. After moving the router away from other electronic devices my speeds are back to normal. Just a heads up for anyone experiencing slow speeds, you might want to move it away from other electronics and see if that helps."
    3-6' feet minimum safe distance between devices.
    Placement on main level floor and central in the building and WELL ventilated is preferred. Not in basements or closets as building materials, or near by electronics devices could interfere or hinder good signal propagation.
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=d9a3b1b2039741948a2365b053a93ea8_3759.xml&pid=80&r...
    http://www.smallnetbuilder.com/wireless/wireless-basics/31083-smallnetbuilders-wireless-faq-the-esse...

  • Car washing machine

    Hello guys , 
    first i'm sorry for my bad english .. 
    second I'm very new in labview and i'm supposed to build a model for a car washing machine ,, i.e . a building where the car has to enter dirty and leave it clean ..
    i didn't start the project yet but i will be happy to hear ur ideas about what to include in my project .. 
    keep in mind that the project won't be that big , it is a model only .. 
    waiting patiently to hear ur ideas .. 
    and thx for your time

    Hi,
    This sounds like on of the examples of CLD exam.
    You can find more details about this on the following link https://lumen.ni.com/nicif/us/ekitcldexmprp/content.xhtml
    There is CLD Exam Sampels, and one of them is the Car Washing Software.
    Best regards,
    IR

  • Car Wash CLD Sample Exam Solution

    Attached is my solution to the CLD Car Wash Sample Exam.  Comments will be appreciated.  The main VI is Main_6.15.10.
    Thanks in advance.
    Attachments:
    CarWash_6.15.10.7z ‏60 KB

    Here are my thoughts....
    Your solution is functional, so there are points for that right away.  Where I think there could be some more work is the architecture.  The exam requirements state that the design must be "easily scalable".  To me that means new states or cycles can be added without much messing about on the block diagram.  If you notice, there are only certain... lets call them Properties of each cycle type.  You could have an array of cycle properties such as cycle time, cycle position switches, cycle name, and flags for standard or deluxe.  Then you could reduce your cycle handling to a single state that just indexes through the cycle array and executed the next appropriately flagged cycle.
    I noticed a Select node in each of your cycle states with constant True and False wired to it.  That is a total of three elements plus two wires that should have just been a Not right off of the Boolean palette.
    You stop the program with a Stop button, yet you allow the user to close the window.  You should consider a Panel Close? event in your event structure to handle a use trying to close the window so that you can execute a graceful stop.
    There is no VI Description filled out for your main VI.  You should also have an icon for the main VI.  The suggested front panel shown in the exam has an icon.
    When your VI is running, you have the scrollbars, toolbar, and menu bar shown.  None of those serves any function for the application, so they should not be shown at runtime.
    The Stop button that is used to stop your application is reset with a Property Node.  Not that there is a performance issue here, but it is generally not good practice to do that unless you are forced to.  Consider just using a Mechanical Action of Latch When Released instead of Switch When Released.  That way you do not need to force the reset to the False state.  Of course, I would rather see something like a Stop state writing to the While Loop conditional terminal.  Also, you could have used a Local Variable to write the initial state of the Sim Switches instead of the Property Node.
    The graders like to see code comments describing your algorithms.  I would say that you need more of those.
    A 10 msec timeout on the event structure is a bit hyper.  Nothing in the system runs that fast, and the only thing you are waiting for is the user.  You could actually have a -1 wired there if you add an event case for the Stop button and Panel Close.  It will greatly reduce the CPU cycles (again not that there is a huge performance issue here).
    Come to think of it, the 20 msec wait for next multiple timer is a bit hyper too.  Your timing requirements are on the order of seconds.  You do not need to loop that fast.
    In general I prefer to have the Event Structure outside the State Machine.  Either that, or I use the Event Structure as the State Machine (in place of the Case Structure).  That way, if you need to respond to the user interface, you can do so without waiting to cycle back to the Idle state.
    This one was not listed in the requirements, but it would be very helpful to see the clock.  A cycle countdown timer or elapsed time indicator is so helpful to the user and the grader.  It confirms that things are working properly and the the application has not sieved up.  Users like to see something "alive" on the screen.
    To end on a positive... good job remembering to Disable the Purchase Selection buttons once the user clicks one.  I got ding'd for forgetting about that back when I took the CLD in 2003.

  • Car Wash Solution discussed in the webcast

    The Car wash solution on the sample exam page does not match with the solution discussed in the webcast. A few people have requested the solution discussed in the webcast to be posted. Please see attached.
    Thanks
    Zaki Chasmawala | Certification Development Group Manager | Training & Certification | National Instruments | [email protected]
    Attachments:
    Car Wash Solution.zip ‏111 KB

    Don't look too closely at the solution.  It was meant purely to show architectures and general concepts.  Furthermore, it was not a PERFECT solution.  It was a PASSING solution.  That example was actually somebody's submission for a CLD and they passed.  If there was a functionality missing, that would not be surprising.  A few points marked off, but still passing.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • CLD Solution - Car Wash System

    Hi all,
    I have one lLVOOP solution for the car wash example for the CLD.
    Would like to have comments on this from you all
    Also, you can rate me between score of 0-40
    Thanks!
    -Parag D
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"
    Attachments:
    Wash System.zip ‏130 KB

    Did you complete it in 4 hours?
    The code and project structure look very good in my opinion.
    After selecting Economy or Deluxe, you should provide an indicator as to what was selected. Such as "Deluxe Carwash In Progress" above the LED's. You should always give the user confirmation.
    Hide the toolbar while running. 
    Richard

  • Car wash CLD exam solution?

    Hello,
      Like a lot of people I'm trying to prepare for the CLD exam.  I'd like feedback on my solution - particularly where the exam graders are likely to take points off. So first I'd like an overal "grade" for what I'm posting here (labview 9).
    This took me about 6 hours to do - too long.  Part of that was deciding on the overall structure, and getting hung up on how to implement the "universal all stop" button.  
    Are there too many wire bends?  For me it can be a very time consuming
    process to re-arrange everything to reduce the number of bends.
    The description/tips and icon things also sucked up too much time.  
    Some specific things that I'm not sure about are:
    Is it ok to use property nodes for the "stop" button and "main power-wash" switches?  This solution works, but is it undesireable for some reason?  I had difficulty comming up with an alternative structure that allowed the stop button to activate in the middle of any part of the cycle.  I had worked on using an event structure to do this, but got frustrated and went with the property node.
    Does anyone have any sense if using a queue to sequence the cycle is considered any better than using a numerically sequenced case structure?  If I only have 4 hours, using a queue structure seems to be a little more labor intensive... (propagating error, initializing and releasing queue...).   I can see the advantage of using a queue (flexibility), but functionally a regular sequence would also work.  To phrase this better:  are points awarded for using more flexible programming structures?
    The timing sequences are rather primitive polling loops.  Does anyone think that I'd get docked for that lameness?  Is there a better way to do that?  I thought about using timing VI's and event structures, but the added complexity didn't seem worth it.  Well, ok, that and I couldn't implement it because there's still some things I really don't get with more sophisticated event structures.
    Attachments:
    car_wash.zip ‏50 KB

    Here are a few more suggestions after reviewing your code.
    Clean up your wires. There are unnecessary bends all over the place as well as wires that run back on themselves (Out of position property node).
    Definitely get reid of all the property nodes. You really aren't using data flow with property nodes all over the place.
    As mentioned earlier, everything including the subVIs eed to be documented.
    Verify your functionality. This application doesn't meet the requirements. The out of position LED is not light properly for one. As mentioned your stop is not a graceful shutdown of the application.
    Use a project for your application.
    Consider placing your timing control in a subVI. You effectively have multiple copies of this functionality in your code.
    Don't use the Wait VI for timing control.
    As mentioned this really isn't a producer/consumer architecture. Take a look at the examples for how this normally looks.
    All constants should be labeled.
    Resize the front panel. Front panels should be size appropriately and shouldn't be a huge window with a few controls and indicators on it.
    Resize the block diagram to fit on a single screen and avoid the need to scroll to see everything.
    Make sure to align the controls and indicators are aligned on the front panel.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Please Review my CLD Sample Exam

    I am going to take the CLD in a month or so, so I figured I would work on some of the exams and post it up here for your advice.
    I started with the Car Wash exam, and will do the other ones as well.
    Thank you.
    Any and all comments are welcome.
    Kenny
    Attachments:
    Car Wash.zip ‏68 KB

    On first look (not that I'm able to give any opinions about any CLD review)
    Using a enum instead of string as a queue data type would lessen the risk of making a typo error when your programming, and makes the programming a bit faster it would also "lessen" the traffic since enum is a lesser datatype than string, and combining it with a typedef would keep changes up to date
    Im taking the CLAD tomorrow, and am hopefully ready for the CLD right after that Hope it wont be difficult. Good luck!

  • Suggestions for FS review to prepare TS document

    Hello Gurus
    Good day to you. Now i have  a requirement for reviewing the functional specification. I have few FS documents and i want to review them and let my manager know whether those FS documents are having the required information to start up to write a TS document or not. if it is not having sufficient information or if i require more information or lack of information in FS to start up TS preparation, i need to inform my lead. This is my requirement.
    Here i require your suggestions or inputs which i should take care while reviewing the existing Functional specification. Please provide your inputs as per your experience.
    This is going to help me a lot.
    Thanks in advance.
    Regards
    Raj

    Hi Raj,
    While reviewing a FS kindly make note of the below points which will also help you to understand if the data provided is sufficient to make a Technical Spec:
    1. Firstly ensure that the requirement is clearly mentioned along with a flow diagram which clearly indicates the role of SAP PI, and the Source and Target are clearly mentioned. Check if the desired requirement is feasible.
    2. The Business Logic should be clearly mentioned.
    3. List of Interfaces along with its priority and complexity must be mentioned.
    4. Frequency and Data Volume of each Interface should be mentioned in the FS.
    5. The fields structure should be mentioned along with its respctive occurence for both Source and Target.
    6. Incase of Graphical Mapping between Source and Target it should be mentioned in the FS.
    7.All the Configuration details of the Source and Target should be there like hostname, IP, user id, Directory Structure(In case of file), all System Details must be clearly mentioned.
    8. Incase of JDBC there must be a mention of the type of Database and its version.
    9. Incase of an IDOC the IDOC name should be mentioned along with the mapping with the IDOC fields.
    10.Naming Convention of the File to be picked and placed (In case of FILE Interfaces) along with the folder structure should be mentioned.
    11. Sample files for each Interfaces must be attached for reference.
    12. Error Handling Strategy
    The above points if kept in mind while reviewing will not only get your requirements clear but will also help you in preparing a solution eventually leading into a technical specs.
    Cheers
    Dhwani

  • Please review my CLD practice exam

    Hi all,
    I'm working my nerve up to take the CLD.  If anyone has the time, I'd appreciate some advice on style, test rules, etc. based on my solution to the Traffic Light sample exam.
    Seemed a lot easier than the car wash exam.  Is this an older exam? How do the real tests compare to the practice exams? Any advice is much appreciated.
    -Barrett
    -Barrett
    CLD
    Attachments:
    Stop Light Controller.zip ‏53 KB

    blawson wrote:  would a simple error dialog be all I'd need for error handling?
    -Barrett
    Message Edited by blawson on 11-16-2009 10:12 AM
    Generally speaking, I think that the error dialog should suffice. I don't think I'm violating the NDA in saying this...  (My sincere apologies to NI training & certification if I am - please delete my post if that's true)  On exams I usually do something a bit more complex, but it's probably overkill.  I usually run a separate loop in parallel and send my errors over there via a queue.  That way errors don't hang up the application.  Still, I use the stock error dialog (one of the two) in my error handler loop.  I don't think I've ever lost points for that, to my recollection.
    Also, regarding typedefs:  To avoid orphaned enums that should be typedefs, I wrote something backwards on my forehead with a marker. (OK, not really.)     "If it's a cluster or an enum, make it a typedef."  Following this rule, I always start out with a typedef to begin with and thereby avoid the problem.  My experience is that this almost always saves you trouble later on.
    Free advice, for what it's worth.
    Jim

Maybe you are looking for

  • Can I update multiple forms with the same dropdown at the same time

    I have 20+ forms that have a common dropdown.  Each form has between 1 and 15 instances of this dropdown.  The values in the dropdown are updated on a frequent basis. Currently I have an identical Document JavaScript named 'UpdateDropdowns' in each f

  • Is this a good way for loading and handling an xml file?

    I'm new to xml files, but it seems to me that a good way to handle them may be this: - create an xmltype table with a unique xmltype column - load the xml file in the xmltype column of the table - writing a procedure for scanning the whole column of

  • Deep Creation is not working in SAPUI5

    Hi Gurus, I have created GW service with deep_create_entity but I am not able to post value from SAPUI5 oMobel.create() method I am waiting for response thanks in advance

  • PC to MAC Compatibility

    I am new here but looked at a friend's macbook this weekend and am thinking of getting one. I need to make sure I can transfer over my word files, powerpoints, and pictures, I know my MP3s can easily be switched over. How does microsoft office work?

  • MobileMe account in Mail stopped working, iPhone fine.

    Can anyone help shed any light on this? My MobileMe mailbox within the Mail app appears to have stopped working, but on my iPhone, MobileMe is working just fine. I've restarted my Mac, rebuilt the mailbox, reinstalled the password. Nothing. I just ge