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

Similar Messages

  • Functional Global Variable in the CLAD sample Exam

    Hello,
    A question in the CLAD sample exam #2 keeps puzzling me. It's question number 32 about FGVs:
    32. Which is not an important part of creating a Functional Global Variable?
    a. Using Shift Registers to store information
    b. Changing the VI’s execution settings to Reentrant
    c. Setting the VI to inline into calling VIs
    d. Setting the While Loop to stop after one iteration
    The answer given is the following
    32.Correct Answer: B
    Topic: Functional Global Variables
    Justification: It is not necessary to inline functional global variables into their calling VIs. In fact, inlining requires that the subVI be reentrant, which is forbidden for functional global variables.
    Clearly, for an FGV to work properly, the VI must NOT be reentrant. So I would have selected answer B, but the justification seems to clearly point to answer C as well, doesn't it? Is it a typo, a subtlety in the wording? I am stuck on this one!
    Solved!
    Go to Solution.

    Well, inlining requires reentrant.  Therefore, the best answer should technically be C.  This looks like one of those rejected/retired questions since it isn't quite right and/or left up to too much interpretation.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • CLAD Sample Exam 1, question 2:

    CLAD Sample Exam 1, question 2: can a wire be used to pass date between 2 llps that are intended to be runn in parallel?  CLAD Sample exam1  provides the following url as an answer:  http://zone.ni.com/devzone/cda/tut/p/id/9393 . This doesn’t explain the answer. Please provide a correct explanation.
    Solved!
    Go to Solution.

    B Spears wrote:
    NIquist wrote:
    Is that the actual wording?  Why can't they make these questions less
    ambiguous?   Just because you intend for the loops to run in parallel doesn't mean they actually do it.  BUT, the data will still be passed between the loops eventually, so technically, YES, a wire can be used.  Why didn't the question just say: "two loops that ARE running in parallel"?
    The wording actually seems to be pretty decent. Two loops cannot be running in parallel if there is a wire running between them. The situation you describe--where one loop stops, data is passed, then the other loop begins--does NOT describe two loops running in parallel, rather two loops running sequentially.
    When the question says "intends", it asks you to play the part of the designer of the code: if you want to have data passed between two loops, how would you design that? The answer is certainly not a wire.
    True, but the fact that we're even discussing the semantics proves that it's confusing.  I'm sure NI has a tough time coming up with multiple CLAD versions covering essentially the same questions but those questions should be testing for knowledge of LabVIEW, not English Language.  A test taker should be able to focus on the what a question is asking and not how it's being asked.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • CLAD Sample exam

    Hi,
    I'm new to this forum and this is my first post.
    I am a beginner to LabVIEW. Currently preparing for CLAD.
    I'm looking for some sample exams, which i thought would be very helpful before taking up CLAD.
    I came to know from my collegues that there was an online CLAD Sample exam available, which I've been trying to find it but had no luck
    It would be very helpful if someone could please tell me if it has been removed, or provide a link if it still does exist.
    Thanks
    Suchin
    Solved!
    Go to Solution.

    Hi there guys,
    Now I may be missing something, but to the best of my knowledge the CLAD sample papers are still up and running. In fact I was dicussing them in a meeting recently.
    So I ran a search for CLAD exam sample papers, and it was the very first search result.
    http://zone.ni.com/devzone/cda/epd/p/id/5225
    Let me know if I've mis-understood the question. Thanks.
    EDIT:
    Sorry, I to have missed the point here... by 'online' you mean 'interactive'? I hope the link is helpful though. I will get straight back to you if I hear of an interactive test around.
    Rhys
    Applications Engineer
    National Instruments

  • 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

  • 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

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

  • CLAD sample exams

    Hi, i've got the 2 sample exams, but does anyone have any more exams? Or even some learning material?
    Thanks Stuart

    These are the two official sample exams.  Not sure if these are the ones you have or not.
    https://lumen.ni.com/nicif/us/ekitcladexmprp/content.xhtml
    When I took the CLAD I read through this entire blog.  I found it to be very useful and I definitely got a few more correct because of it.  As well as learned a few useful things for my daily work.
    https://decibel.ni.com/content/blogs/DailyCLAD
    Lukin
    Certified LabVIEW Developer

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

  • CLAD sample exam 1

    Hi,
    yesterday I had a discussion with some friends and I want to get some independent opinions now :-)
    It concerns this CLAD sample exam question:
    Now lets see, what does the iteration terminal do? From my point of view: it returns a new value at the beginning of each loop iteration and this value tells me how often the loop has already executed (0 during the 1st iteration, 1 during the 2nd and so on). In this case answer a would be correct, right?
    According to the results contained in the sample exam, the correct answer is c.
    But this is only true (hard to write "true", because I think it's kind of odd to put it that way) if you wait until the loop terminates and than check what value was returned last.
    I'm curious about any comments or opinions.
    Regards,
    Thomas

    I would check c too (maybe if even have it, can't remember) , more because I expect it as the expected right answer
    In examines you should always say what your examiner wants to hear, right? Well, most of the time easy to proof in an engineering world
    And that's why the best preperation to a test is a test test, to learn how you have to understand the questions and what are the expected answers, otherwise it would be too simple
    If you are picky answer a  might also be correct because the sentence is written in the past * and the terminal will spite out it's value right at the beginning of the loop when the loop has not (completely) executed.   That's why it is positioned inside on the left side.
    *) I'm not a native English speaker, and grammar in any language hasn't been my favor anyway, so I might be false.
    Message Edited by Henrik Volkers on 03-26-2010 11:48 AM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Clad sample exam 1 question

    Hi.
    I noticed this question in the clad sample exam 1
    Which of the following statements is FALSE?
    a. A SubVI connector pane defines where to wire inputs and outputs
    b. The color of a SubVI connector pane terminal matches the data type it is connected to
    c. You must have an icon/connector pane to use a SubVI
    d. A SubVI icon can be edited from the functions palette
     In the answers it says D.
    Wouldn't 'C' be the right answer ? I know that the icon is optional, but you must build the connector pane to use a sub vi.
    Nevertheless, I found an invoke node (VI Icon -> Set from file/image data) that can edit the vi icon, therefore you could pick a vi server reference and an invoke node, all from the functions palette.
    What do you guys think ?
    Thanks.

    Nope D is the correct answer.
    For C, you must have a connector pane in a subVI.  (Of course it is possible to have no terminals setup on it, or even no wires wired to it even if there are terminals set up.)  Any every subVI has an icon, it is not optional.  It might be the default icon from LabVIEW, or even a blank one, but it is always there.
    For D, no you can't edit it from the functions palette.  I had actually never come across that invoke node you mentioned.  I don't think it is one that 99.9% of LV programmers would ever use.  I'd argue that you aren't editing the icon with that from the palette.  Yes you did grab it from a palette.  But really it is just a way to programmatically set the icon, you're not actually doing any "editing" with it.

  • CLAD Sample Exam -2 - Question 3

    Anwer B and C are clearly wrong.
    But I am not sure any of them are right but if any Answer D seems the nearest to being correct.
    So why is A the correct answer, surely it's not during the execution of SubVi but the elased time of the execution of SubVi
    Regards
    Ray Farmer

    zakic wrote:
    Great catch! and thanks for reporting the error. We will have the sample exam corrected and posted as soon as possible.
    Zaki Chasmawala - Certification Development Group Manager
    [email protected]
    Zaki,
    Perhaps you need someone with experience behind the podium.  I've been chatting about the quality of tests on this forum, Breakpoimt and less public ones
    (Yes, I just spoke on the phone today with Hunka  RE: what are the barriers to re-cert?  Look for a Private forum post "Kaison Event")
    Jordan may need to take this post down.  But I am your Champion in this!  Let us fix the exams
    Jeff

  • 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

  • CLDR Sample Exam Question

    I was going through the CLD recertification sample exam (here), and one of the questions has me stumped.  For question 39, I understand what the code is doing and the right answer, but I can't seem to find how to place this code on a block diagram.  I'm referring to the function with the -3->, ?, and i on the icon.  Can anyone tell me where on the function pallete to find this (LV2009 or 8.6)?
    Thanks ahead!
    ==============================================
    David Kaufman
    LabVIEW Certified Developer
    ==============================================
    Solved!
    Go to Solution.

    Well it's the same like this:
    Allthough it is quite unclear to me why I had to reverse the first part of the array.
    But a very advanced functionality, I like the way to initialize with an array.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

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

Maybe you are looking for