Sample Exam Solutions for Review

Good afternoon,
I am taking the CLD exam tomorrow morning and wanted to submit my sample exam for review. I was able to finish it in just about 4 hours. 
Here is my solution, please provide feedback.
Thanks.
Steven

Manushak wrote:
Hello all
I have solution for "sprinkler controller".
I would be glad if someone could take a look and give me a feedback.
I want to write more comments, but my english is poor and there are many mistakes in my texts. Do you know, can i have any translater with me in time of exam. Or can i use online translators. It will help my very much.
Overall a C- job  Some things you did well. Please excuse me for only pointing out the flaws as my time is limited.
You have some bad habits that you need to break;
Icons.  They need to convey information to the next maintainer of your code.  Is that a flame under a teakettle?  Like GUIs the color usage in icons should avoid garashness and help aid clairity.  Your file read vi icon uses a glyph I would associate with a error dialog.
Use a project
Tip Strips on every object the user can see on the GUI!
Timing- you have failed to meet spec on preserving the elapsed time if rain occurs durring the servicing of a zone.  You need an elapsed timer with a pause feature.
Wire bends.  Enough said?

Similar Messages

  • CLD Sample Exam Solution for Review - ATM

    Please see the attached ATM controller code. I would appriciate any feedback as I am sitting the CLD exam next week.
    Matthew
    Attachments:
    ATM.zip ‏374 KB

    Its probably been a few weeks since you took the CLD. How do you think you did?

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

  • CLD Solution for Review

    Kindly Evaluate My CLD solution for Sample Exam Sprinkler Controller... 
    Thanks & Regards
    Varaprasath M
    Certified LabVIEW Developer
    Certified TestStand Developer
    Attachments:
    Sprinkler - Kopie.zip ‏332 KB

    Looks pretty clean, but I have not looked at it in detail.
    Here are a few notes:
    Isn't this supposed to be inside a project?
    I hate it when diagrams are maximized to the screen (main VI and file I/O vi)
    You have an existing log file and if I run the VI, new data gets appended. The problem is that the existing entries have a comma as decimal seperators, while the new entries (run in the US) have a decimal point. This could confuse a program that later might analyze the logs. You should decide on a wordwide format.
    To blink the pilot, you can create a direct property node for the button inside the cluster (right-click button on the front panel...create....property node. see image below). No need to get all control references and index out one. (even if you get all the boiler control references, that only needs to be done once outside the loop and not every time it is needed.
    As has been said by jeff above, terminals of subVIs should be on the toplevel diagram, and not buried inside case structures.
    In the file I/O subVI (open file case), you only handle error 7. Shouldn't you handle all errors somehow? For example if the file is "read only", you would get error 8.
    It would seem more easy to format "event" and "event data" into a single string in the main VI. Now you only need one feedback node to see if anything changed. The combination of strings and numerics can easily be done with single formatting statements.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    pilotproperty.png ‏5 KB

  • Sample exam paper for SAP Basis Admin

    is there any website where i can download the sample exam paper of SAP Basis admin?

    Hi,
    There are lots of technical questions for MS SQL Server, you should know the db in order to answer.
    I would suggest you to call SAP and ask them to make the exam for the database you know. Usually is like that, they dont force you to make whatever exam, you have to tell them which platform and database you would like to make the exam for.
    Good luck,

  • PPPoE problem - solution for review

    I'm posting this to save others the search after I troubleshot a painful issue, which wiser types may be able to clarify the background.
    Equipment: DLink DSL 504T Gen II; MBP 2008; AEBSdual-n 2009
    Problem: Set up new AEBSdual-n, set up security, PPPoE to bridged modem and accept all default networking settings. With correct username & p/w, AEBS fails to authenticate, flashing yellow and generally not responding to Airport Utility very well, even by wired connection...
    Solution: Noticed that default DHCP prefix in Airport is 10.x.x.x which is the same ilk as the Dlink DSL 504T. Wonder if the subnets are clashing or something. Try changing DHCP prefix given out by AEBS to 192.168.x.x and all works fine. Note that to achieve this I had to hard reset (power and reset button at once) to restore default settings.
    Those wiser than me can look at the reasons, but I wanted to post a likely solution for many others I've read when researching the problem.
    Cheers,
    Tim
    Message was edited by: Tim Groves for clarity

    I tried the same and the opposite happened. If I left it as 10.XX it worked fine

  • Labview sample exam papers for certification

     Hi,
         I am planning to write Labview Certification. Can anyone tell me where sample exam papers available ?
    Regards,
    krishna 

    search

  • Sample CLD (Boiler Controller) Solution for Review

    Hi,
    I have solved the Boiler Control example, as part of my CLD practice.
    Can you guys please review it?
    I couldn't meet the timing deadline but I think I can do it with some practice.
    Also please excuse the documentation part. I hav done almost nothing on that as of now.
    I would like to see comments on architecture, functionality, code readability, etc.
    Thanks in advance.
    Moni
    **If necessity is the mother of invention, I bet laziness is the father.**
    Solved!
    Go to Solution.
    Attachments:
    MySolution_BoilerControl.zip ‏111 KB

    I'm studying for the CLD myself and haven't passed it, so take my comments with a grain of salt.
    A few suggestions. They're all very minor.
    1) For your next practice, take the last 10 minutes of the 4 hours and do documentation. Those are fast, easy points. It's even better if you document as you go - just type a quick description of what you're doing in each frame, and add documentation to your VI Properties (especially your main one).
    2) This is very minor, but I noticed a lot of coercion dots. A Quick Drop and Ctrl+I will clear those out quickly.
    3) I think you should hide your debug indicators for State Q. At least move them off to the side, away from the desired front panel.
    4) Shift cluster should definitely be a typedef.
    5) Is there a reason you used a "File Directory/Info" instead of a "Check if File Exists" function? This is more a curiosity question than anything; the way you coded is functional, but sort of indirect.
    6) I'm not sure if the exact right values are writing for the log file, I see "6/27/2012::10:29 PM,Pilot Proved,29.59" as a line, and I would expect the Pilot value to be >30?
    I think barring a slight lack of documentation, it looks great. It's very organized and it's clear in every state what you're doing.
    I hope you pass! Good luck on your exam!
    http://linkd.in/mikele

  • CLD Sample Exams: How to deal with references ?

    Hi@all:
    I reviewed  the sample exams solution for the CLD provided by NI and noticed, that they trifle with references. As shown in the Security System and the ATM Machine, references were opened, but not closed at the end.
    What do you think, will this cost Style points?
    The exams can be grabbed on the NI site searching for CLD.
    Solved!
    Go to Solution.

    I would ding them for a lot of points but it is not my test but NI's so play to their rules get the cert and then do it right.
    When you get to that part of the exam just add a note saying those refs do not need t  be closed because they are static and maybe you can get some bonus points for knowing the differnence.
    How to know the difference?
    See here.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • My Solution for CLD Sample Exam (Traffic Light)

    Hi there folks,
    I was just preparing for my CLD exam and was going through the sample exam provided on ni.com.
    I wanted to get any feedback for my solution. I looked at the solution and it seemed way to complex
    to achieve a simple task! Then again, I am still learning.
    ThanX in advance.
    Attachments:
    Traffic Light1.zip ‏81 KB
    Traffic Light2.zip ‏81 KB

    About queues vs shift registers.  Queues allow you the ability to insert elements into either end of the queue.  You can also write code to insert several elements at one time.  With shift registers, only one new element can be carried over to the next loop at one time.
    Lets say you have a state machine that always executes in the same order, no matter what the outcome, like State1 then State 2 then State 3.  A shift register works fine for this simple example.  However with queues, you can use a loop to insert the 3 states before the main state machine loop, then dequeue in the state machine.  This is really a matter of preference.
    Next example.  Lets say you had a situation where you want to run 3 states, but if the second one fails, you want to run 2 other states before going to the third one.  You could use a shift register, and you would have to look at each state to see which is next.  A queue would allow you to insert the 2 extra states in between states 2 and 3.  Of if you want to exit on some failure during a state.  You can use the queue to insert the exit state at the opposite end so that it is the next to be dequeued.
    Another situation is if you allow the user to call certain actions that require running several states.  When the user presses button A, you enqueue states 1,2,3.  If the user presses button C you enqueue states 7,8,9.  So now you have a state machine in which states are defined by some user action.  This would be more difficult to do with a shift register. 
    There are many other situations where a queued state machine is better than just a simple shift register.  For the simplest of situations, I might use a shift register only.  But I like to make it a habit to always use queues because of their versatility, and for the fact that I can go back and upgrade a simple state machine to a more complex one easily if it is done with queues.  Be sure to use shift registers on the queue error in and error out so that errors can be propogated from one state to the next.  On each state, check the error status.  If one occures, enqueue a state at the other end to jump to your error handling state (or exit).
    - tbob
    Inventor of the WORM Global

  • Does NI post solutions to CLD sample exams?

    Does NI post solutions to CLD sample exams?
    Thanks in advance.

    There's solutions in the CLD sample exams zip file found here and there's a sample solution for the CLA exam.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • CLAD Solution of Sample exam

    Hello,
    I found this sample exam on the web but without answer ...
    Can someone help me about the answer ?
    Sample exam : http://202.38.93.17/bookcd/3503/1.iso/CERTIFICATION/CLAD+Sample+Exam.pdf
    Thanks

    #4 search the forum- that conversion is maybe half the speed of a coersion-  Let thos Coesion dots WARN you about potentioall lossy coersions (especially on Enum data types) but they are not evil.
    #5 look up buffer re-alocation.
    #6 is a deadlock (One of those aweful questions on terminology used in Basics 1&2 - the tests are improving)
    #9 is an obsolete question (although you were correct for LabVIEW 7.0) What colors of Property Nodes can you find and what do they mean?
    #10 "Methods" are involked- Read right through that didn't you?
    12 Probably a really badly worded question (as well a #15) read Ben's nugget on Action Engines and you'll learn better ways to pass data between threads within an application instance but "GLOBALS are not evil- Lighting fast little buggers and that can be pretty handy
     http://forums.ni.com/t5/LabVIEW/Community-Nugget-4-08-2007-Action-Engines/m-p/503801
    Jeff

  • CLD-R sample exam #2, question #11

     
    Answer A is the stated correct answer according to the sample exam answers section.
    Correct me if I am wrong but Merge Errors ONLY reports the FIRST error.  If multiple errors occur with those four error lines,
    ONLY one will be reported by error out, not ALL errors.
    Where I am going wrong with this one...is it because only one input to Merge Errors is used?
    (the error out line looks like a non-array input (thus how could all errors be reported without and array of error outs???)
    Thanks,
    Ryan
     

    1984 wrote:
    In the past 12 years I have developped and deployed unreliable codes like this in about 10 different countries.
    If this is unreliable then NI should start reviewing its own VIs as there are numerous VIs shipped with LabVIEW has solutions like this.
    Hey, lets assume this is a control system for (Why not?) a 250kWatt weather radar
    Stop the pulse modulator
    shut down the RF Source
    Remove power to the Klystron's magnet 
    Trust me, you want them to happen in that order.  with code shown as drawn above, there is a possibility to remove the magnetic field first.  That would dump a 60kV 12A pulse through the klystron with no field to focus the beam.  At which point a 70 pound klystron is going to impolitely install a new hole in the building's roof.
    Frankly, I despise that question as none of the distractors takes into account a failure in a predicated step of shutdown.

  • ATM CLD Exam Solution: Feedback Welcome

    Attached is my solution for the ATM Exam.  It took about 6 hours to complete, but I think I could get it down to 4 (I took a significant detour).
    I'd love to hear from fellow test takers or graders out there on the choice of architecture and readability.
    Thanks,
    Tom
    Attachments:
    CLD Sample Exam - ATM Machine - Tom.zip ‏295 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

Maybe you are looking for

  • Infosource to be used for both Direct update and Flexiable update

    Hi,   I had a Data source 0CUST_SALES_ATTR.   A infosource is created Direct Update of Master Data from DS:0CUST_SALES_ATTR to 0cust_sales. So the Data source 0CUST_SALES_ATTR is being used to load ATTR data of 0CUST_SALES. Now as per my requirment c

  • Output determination analysis

    In output determination analysis I am getting single output type three times with different messages. Any one can please through some light on this.

  • Send a document to a single member of the role

    I'm working with 11g I have a process with 2 roles. The first role is "Author" , is a initial task and sends a document (composed by attach and some metainformation) to the examiner. The second role is "Examiner" and examines the document from approv

  • IPhoto not exporting and slideshows not showing in finder

    iPhoto on my MacBook air will not export slideshows into iTunes, even though the icon is ticked for it to do so automatically. Also, the slideshows I create are not showing in finder. Any suggestions?

  • OC4J and java version

    I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang