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

Similar Messages

  • 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.

  • 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

  • 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

  • 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

  • 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.

  • Cld solution

    hi frenz,
    here i have attached my solution for car wash, Traffic light and Security system. Kindly you all check it and give me a great feedback..Attachments are in LV version 9.0.
    Thanks in Advance. 
    Attachments:
    Security System.llb ‏191 KB
    Traffic Light.llb ‏203 KB
    Car Wash.llb ‏304 KB

    hi,
    Can you post your vis in 8.0 or 8.5?
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • 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.

  • Ipod Nano 4g not recognised by car stereo system

    I have recently purchased a new design Vauxhall Astra. One of the extras available was a USB connection which stated on the original advertising leaflet that it was fully Ipod compatible. Upon getting the car home I was eager to try out my Ipod Nano 4th generation. Initially nothing happened when I plugged it in via the USB socket. I then thought to switch on the auxiliary button, this responded with the message "no auxiliary connected". I then thought maybe I should switch on the Ipod. That was when the real trouble started, everything went dead. That was when I decided I had better check the car handbook. It was only then that I discovered the list of compatible Ipods and guess what every one was listed except for the 4g. I disconnected the Ipod, which although initially only showed the Apple logo, I was able to make it work normally. As for the car stereo system everything works fine except for the auxiliary switch, this still remains dead. The car is going back to the dealership on Wednesday for them to try to find out what is wrong, in the meantime is there anyone out there that can shed any light on this problem.

    At last, Vauxhall have come up with the solution. It seems that the fact the original advertising literature not mentioning the 4G was an error as they are all compatible. Apparently to make the system work it is essential to have the engine running before you make the USB connection. If you do not have the engine running the system becomes confused and therefore shuts down completely, which is what happened to me. If this happens then the only way of rectifying it is to return the car to the dealership and have the system completely re-configured. Obviously I mentioned the fact that this was not explained when I collected the car and they admitted that this should be made clearer for future customers

  • BB 9360 Curve don´t connect the mass storage to my usb car audio system.

    Hello:
    I´ve got a BB 9360 curve. There is no problem when i connect to my PC, It questions if i want connect mass storage, charge, etc...
    But when i connect it to my USB car audio system, it connects automatically to charge without any message or option to connect to mass storage, and i can not access to my music stored in the memory card.
    Waiting your answers, so many thanks to all.

    Hello xaxu and welcome to the BlackBerry® Support Community Forums.
    Thanks for your question on Mass Storage mode.
    Currently, Mass Storage mode is supported when the BlackBerry® smartphone is connected to a Windows® or Mac® based computer system. 
    Hope this answers your question. 
    Thanks!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • IPhone 3G Lack of compatibility with Alpine CDE-9852 car stereo system

    So I have a Alpine CDE-9852 car stereo system along with the Alpine iPod adapter in my 1994 Toyota Celica and I've come across a little problem ever since I upgraded to iPhone 3G. See, when I had my 2G iPhone and plugged it in via the dock connector, my car's stereo system played what was playing on my iPhone. When I answered phone calls the music stopped and then continued when the call ended. Most importantly, when I was plugged it, my iPhone charged itself. Everything was great!
    When I bought my iPhone 3G though, something changed. My system still plays songs from my iPhone, stop when a call comes in, and continues when the call ends, BUT my phone no longer gets charged! I've tried messing around with the phone, but no luck. So I'm assuming there is a compatibility issue, and I realize a firmware from Alpine is highly unlikely, so my question for you all is: Am I out of luck on this or is it possible that something can be done to allow my 3G to charge via the car's ipod adapter? Also, could Apple solve this issue, by adding more compatibility to the next firmware? I would appreciate any feedback and incite on what can/can't be done. I'm planning to write/call Apple and Alpine to try and get to the bottom of this problem. It's just so disappointing that the old phone charged and the new one doesn't. Thanks in advance for the feedback.

    So you were right to assume I transposed the numbers, it is the 9857. Thanks for all the valuable info you have given me so far. Now, here is my question, I have an iPod adapter box, that cost me $100. Now I'm not sure what model number this is (I can find out once I go home this weekend), but I can tell you it is an Alpine iPod adapter box. Its what I used to plug in my iPhone for the past year and a half. I bought this back more than 2 years ago though, so I don't know if affects the 2006 compatibility time period, so possibly you could answer that once I get you the model number. So with the 422i, would it replace the ipod adapter I have now, or just change the cable that goes from the adapter to my iPhone? Also, the website talks about it as though it strictly supports iPods, is it compatibable with my iPhone? Also, will I be able to use an phone features with the new cable.
    So with the replacement cable you said it will do 5 volt, which is what I need for the iPhone right? I don't have a 120 gb classic, so I'm all set there. As far as connecting my iPhone, playing music from it, and charging it, is this cable my solution?
    Also, so the scoche adapter would solve all these issues as well? Including the needed charging area? Finally, do you know if there are any head units out there by alpine or anyone for that matter that would provide me (an iPhone 3G owner) with all the functionality I've been looking for PLUS phone capabilities? I'm not looking to drop an arm and a leg or get a big screen alpine head unit, but something that would broadcast my calls in the car through the system. I realize this might have to include buying a bluetooth unit, but I figure it might be worth it to get all that capability.
    Thanks again Jeddix for all your help.

  • 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

  • Hp 16 gb pendrive not detected in car stereo system.

    hi sir, 
       i have purchase hp pendrive 16 gb it is working in computer but not detected by the car stereo system please provide the solution.

    There could be a couple of reasons why its not working for your car stereo.
    Look up the manual for your stereo. Several have a size limit as to what they will accept.
    Example: It will read up to an 8 GB drive.
    Also make sure you have the right music file type it will read.
    Usually, Stereos will read FAT32 and not NTFS. Make sure you have it formated correctly.
    Worst case scenario I have seen is that some model stereos will not read every brand USB drive.
    The manufacturer may have a list of approved drives.
    Hope it helps.

  • Car Stereo System

    Hi Forum Members!
    First time post here.
    I am overwhelmed by the number of different Car Stereo Systems  there are to buy in the world.
    I am looking to surprise my mom with a new Car Stereo System for her 2006(?) Chevy Malibu.
    My mom does not own an iphone or any apple product.
    All I need is a Stereo that has BlueTooth Connectivity, built in Microphone to use with the BlueTooth for hands free calling,
    and it needs an FM/AM Receiver, my mom does not listen to satellite radio
    If you can point me in the right direction, that would help out a lot. 
    and also to any dashboard adapters i might need to help install it into her car
    Thank you 

    The Kenwood KDC-BT648U (last year's model...still available on website?), KDC-BT652U (This year's model...in stores but not on website...link points to Kenwood's info) and Sony's MEXBT3000P (also in stores but not on website....link points to Sony's product page) are great places to start.  Those are models that have a microphone built in, but there are several more available that have an external microphone for better hands free performance.  The question of adapters needed is kind of tricky if it is a Malibu in that year range.  The parts required can range in price dependent upon the options the car has.  If it has the information center that is built into the radio, then the dash kit is $199.99 and you would also need an antenna adapter.  If the information center is on a separate part of the dash then the dash kit is a more affordable @ $19.99 but would also require a wire harness that is $88.99 and would also need the antenna adapter.
    While I am employed by Best Buy, all of my posts here are in a non-official capacity. Any information or recommendations that are given are done so in an attempt to help in any way that I can and are not an official part of my job. If you feel that I have helped, feel free to give me Kudos or mark my post as a solution...I like to know how well I am doing.

Maybe you are looking for

  • Iphone 4 background stays lit during calls

    My iPhone 4 stays lit during calls and causes battery to run low and inadvertently mute me. I've had my screen replaced by citymac and after doing some research I'm guessing it's the proximity sensor. Is there a setting on my phone to turn off the ba

  • Problem in web enabling ALV ABAP report via ITS. Please help!

    Hi Experts,         I have a report that has a selection screen. On executing the selection screen an ALV output loads displaying data based on the selection criteria. I have web enabled it via ITS. I have used SICF transaction. When I run the intern

  • What to draw on in fullscreen

    I am writing a fullscreen exclusive game (this is my first) which will also be able to switch to a windowed mode, and I want to make sure I have everything set up correctly. Here is the plan: I am going to to my drawing in some kind of draw() method

  • PSA SE and PS Elements 5.0 Sharing the Same Catalog

    Is it possible to set up PSA SE and PS Elements 5.0 to share the same catalog? I really like PSA SE for a nice viewer that add the cataloging aspects. The PS Elements Organizer is nice, but takes too long to load, is too big in memory, etc. I have fo

  • Getting user name or password incorrect message when trying to access email

    I keep getting an incorrect user name or password message whenever I try to get into my mail. Also, my mail has not been updating anything since Thursday. I have the 1st edition iPad