CLAD sample exam - windows dialog button mimic

Hello,
While preparing for the CLAD exam, I don't seem to agree with the given answer:
What mechanical action of a Boolean would you use to mimic a button on a Windows dialog?
The given answer is "Switch When Released".
Maybe it depends on which button, but when I think about a typical Cancel or OK button, the action happens after releasing, so I would think it is "Latch When Released".
Am I alone in this opinion?
Stijn

It's kind of a trciky question and it depends on the programmer.  I think I understand why it could be argued to be switched when released.
Typically, when you press a button on a dialog box, the button stays pressed until the appropriate action completes.  For example, if you hit an Apply button, the dialog box completes all actions associated with the Apply button, then resets the button to the off state.
Depending on how you write your program, you can have the same behavior accomplished with a latch button as well.  You just have to read the control until after you have finished your actions.  In some cases, it may be quite simple, but in others, it may be more difficult if you go through several states before the action is complete.  But, it is possible to get the same behavior out of both.
I think a lot of us have been programmed that locals are bad, so manually resetting the switch is bad.  It doesn't help that NI also has the buttons on the control pallette setup to latch when released either.  You would think that if switched when released is the correct answer, that NI would have their OK and Cancle buttons behave in that manner.

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

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

  • 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

  • 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

  • I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content)

    I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content) is there a fix to this problem? using 8.1, Monitor is a high res.2560x1440.

    Another View.
    the GUI is so hard to read (so small) I enlarge my Ps UI by the instructions below...which helped a lot.

  • IE11 can't post form data to specific frame or window dialog opened via window.open()

    Hello,
    Form POST targeting to specific frame or dialog popped up via window.open() no longer works in IE11.
    It worked fine in IE10 and all previous versions of IE.
    Please see screenshot attached with simple test that reproduces this problem.
    Direct Link to screenshot:
    http://173.231.98.44/cgi/TestFolder/IE_11_widow_frame_targeting_BUG.jpg
    Direct link to simple test page demonstrating this problem:
    http://173.231.98.44/cgi/TestFolder/page2.asp
    Note: IE11 doesn't report any errors, doesn't complain about anything, even when debugged via F12 developer tools. The only thing it complained initially was missing doc type declaration on top of page, but even after adding doc type definition, problem still
    persists, makes no difference.
    I tested this on fresh install of Windows 2012R2 while testing our web application with the new IE11.
    I believe doing this on Windows 8.1 with IE11 will result in same bug/problem.
    Our web application uses a technique whereby it launches a popup window via call to window.open(), passing blank URL and specifying a name for the new window. It then does a from post targeting the name of new dialog.
    In IE11 this functionality has been broken and no longer works.
    Problem is that IE11, instead of posting form to the newly created dialog, it launches a new instance of IE and then loads the requested form in this new instance of IE, while the dialog launched via window.open() remains on screen and is empty. If user repeats
    launching same form post request (via button click for example), IE 11 keeps creating new empty dialogs and new IE instance for every form post executed. This totally breaks our application because we use many so called "wizards" that encapsulate
    specific functionality in separate web page launched in a popup window.
    Another related problem is that if a dialog is launched with window.open(), the java script code in the dialog can not target the parent frame that opened the dialog anymore. In our application, when a dialog is closed, it typically needs to trigger a refresh
    of a specific frame within the parent window (again targeted by name) to reflect saved/updated info that user entered in the popup dialog. The result is that we can't refresh the parent frame after the pop up dialog closes. Instead, IE11 launches
    a new instance of IE (not just a tab, but a whole new instance) and loads the parent frame in it.
    The problem seems to be caused by broken frame name targeting mechanism in IE11.
    Note that we force IE to compatibility mode 5, but even without specifying any compatibility, the problem remains.
    Typical java script to reproduce this is:
    <input type="button" onClick="Popup(this.form);" name="btn2" value="Popup Dialog">
    function Popup(f){
        window.open("","MyNewDialogName","width=200,height=150");
        f.action = "page3.asp";
        f.target = "MyNewDialogName";
        f.submit();
    Expected: IE11 should correctly post form to and load targeted page in the newly popped up dialog, without opening new IE instance and new tab. Repeatedly posting form to existing popup window should reuse that window, not keep on launching more popup windows
    and then more IE instances.
    Steps to reproduce the problem (include URL if applicable):
    URL with sample page: http://173.231.98.44/cgi/TestFolder/page2.asp
    1) Create page1.htm: <html><body>display "I'm in a popup window now ..."</body></html>
    2) Create page2.htm with a button and onclick() event calling function to open dialog, and do form POST targeting new dialog calling page1.htm, like below.
    <input type="button" onClick="Popup(this.form);" name="btn2" value="Popup Dialog"> function Popup(f){
        window.open("","MyNewDialogName","width=200,height=150");
        f.action = "page1.asp";
        f.target = "MyNewDialogName";
        f.submit();
    3) Open IE11, navigate to page2.htm, click the "Popup Dialog" dialog button. IE 11 will popup the new dialog, but then it will also launch new instance of IE11 and display the page1.htm in it, instead of in the popup dialog.
    Has anyone else encountered this problem?
    Any insight or help is appreciated.
    Regards
    Peter

    the default action of <input type="button" is submit. Note also that the default type of <button> elements is 'submit' also.
    add a return false to the onclick inline event handler (which constructs the form submit attribues) to cancel the default form.submit behavior.
    form elements have a target value with which you can specify the name window into which you want the form to open in.
    <form action="process.aspx" target="popup">
    you can use the window.open method with a query uri to achieve the same outcome.
    window.open('process.aspx?s=search+term&amp;foo=bar','popup',{features})
    the outcomes of all scripted windows are affected by
    your IE Popup blocker and tabbed browsing settings
    which in turn is affected by your IE Security zone settings (for popup blocking handling)
    and the settings of any third-party popup blocker you may have installed and enabled... it may not necessarily be visible on your browser toolbar.
    The first step in troubleshooting web browser issues is to test in no-addons mode.
    Use the Developer Tool to find out what documentMode the test page is opening in on your system. On Modal/Modeless popup windows use the f12 key to display the Developer tool positioned on the contentWindow.
    Use File>Properties to find out what IE Security zone it maps to... there is a security setting to prevent navigation into zones of lower integrity.
    Rob^_^

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

  • How can I supress a Windows dialog box programmatically in LabView?

    I am trying to automatically supress or close a windows dialog box that appears when a LabView program crashes. I have a restart program that will automatically reopen the program and I don't want to have to click on the program error window that results from the crash. Does anyone know how to do this?
    Thanks so much for your time!

    The program rarely crashes - it is running in the background for the entire day and we just want to ensure that it is monitored and restarted in case of a crash. We also don't want the user to be bothered with the program error messagebox that pops up saying that an error log is being created. The program crashes when too many programs are running at the same time - so the problem isn't a huge one. I was just wondering if it was possible to stop this program error message from appearing by programmatically selecting the okay button or by suppressing the message entirely?

  • IFrame in jQuery Dialog - submit iFrame using dialog button

    Hi Everyone,
    I know a lot of us are using JQuery modal dialog feature and some of us using iframe strategy to display form or page inside of modal dialog popup. Personally, I am using these features a lot in my app but there is a step where I am a bit stuck.
    Here is my situation ( I am sure most of us will be interested in this to be resolved if not yet):
    I have a regular page (will call it parent page), on this page I have a button and by clicking on this button I am getting a jquery modal window popup. The button itself is pointed to url: javascript:LinkAssets(); and the script to call modal popup with iFrame in HTML Header of parent page is:
    <script type="text/javascript">
    // Link Assets - Modal PopUp
        function LinkAssets(){
    var apexSession = $v('pInstance');
    var apexAppId = $v('pFlowId');
    var assetNumber = $v('P17_ORDER_ID');
    $(function(){vRuleBox = '<div id="LinkAssetsBox" title="Link Assets to the Order">
       <iframe src="f?p='+apexAppId+':55:'+apexSession+'::NO:55:P55_ORDER_NUMBER:'+assetNumber+'"
         width="680" height="320" title="Link Assets to the Order" frameborder="no">
       </iframe>
       </div>'
    $(document.body).append(vRuleBox);
    $("#LinkAssetsBox").dialog({buttons:{"Close":function(){$(this).dialog("close");}},
                                                                   stack:true,
                                                                   modal:true,
                                                                   width:700,
                                                                   height:340,
                                                                   resizable:true,
                                                                   autoResize:true,
                                                                   draggable:true,
                        close: function(){$("#LinkAssetsBox").remove();
                                                             location.reload(true);}
    </script> As you see I am calling page 55 from jquery script into iFarme which will be displayed in modal dialog. All described above is working fine, no problems and most of us use it.
    My problem is here: my JQuery modal dialog has a "CLOSE" button which allows me to close a modal dialog without any changes and go back to my parent page - which is normal behavior. In my iFarme page (page 55) i have an "apply changes" button, and this button calls a process on page 55 by submitting a value and than it closes the modal dialog. "APPLY Changes" button has pointed to the url: javascript:UpdateRecord(); and page 55 has a script in HTML Header to submit value and close modal dialog:
    <script type="text/javascript">
    // -- Function to apply changes and close Modal Dialog--
    function closePopup(){     
       $(function(){parent.$('*').dialog('close');});}
    function UpdateRecord(){doSubmit('APPLY_CHANGES');closePopup();}
    </script> So, what I want is not to have this "Apply Changes" button in my page 55 which is iFrame page, I want this button to be next to my jQuery modal dialog "CLOSE" button which means I have to change my modal dialog popup script to include "APPLY CHANGES" button where this button will submit value to iFrame page and close my dialog.
    I hope whatever is above is readable and understandable.
    Thanks

    since my previous solution didn't work I did try another way. I did try to create a hidden item in my iFrame page -> pass a values "APPLY_CHANGES" to this item from my "ADD" button in parent dialog window and make my DML process in my iFrame (page 55) to fire conditionally when hidden item in iFrame page has "APPLY_CHANGES" value. So, I did change my dialog window script with iframe again to include this:
    $(document.body).append(vRuleBox);
              $("#LinkAssetsBox").dialog({
                            buttons:{"Close":function(){$(this).dialog("close");}
    //from here ---------------
    ,Add:function(){location.href="f?p=&APP_ID.:55:&SESSION.::NO:55:P55_CREATE_REQUEST:APPLY_CHANGES"}
    //to here -----------------
    },               stack: true,
                   modal: true,                         
                            width: 950,
    ...and again....it passes the "APPLY_CHANGES" value to my iFrame page item ( i can see that in session view) but my process is not running or may be it is not getting values of my form items in iFrame page.
    Any ideas...comments on this???

  • Advanced Dialog button not showing during "Get photos from camera or card"

    Based on previous threads, I have double checked my screen resolution (currently set at 1920x1080) and uninstalled/reinstalled PSE 8.  I run on Windows 7.  Has anyone has success getting the Advanced Dialog button to appear?

    A little experimentation shows that your Windows display text-size setting (DPI, dots-per-inch) is set too large, probably 150%. When I set my display to 1920 x 1080, I can set the text size to as large as 140%, but any larger and the Advanced Dialog button won't show.   To change the text size, right-click the Windows desktop, select Personalize, Display, Set Custom Text Size (DPI), and then enter a different value.
    PSE 8 has an undocumented "feature" that disables the Advanced Dialog when it won't fit on the screen.  This commonly occurs on netbooks with display heights less than 768, but it appears to happen also when the combination of display resolution and DPI make the dialog too big to fit.   Lazy programming on the part of Adobe.

Maybe you are looking for

  • Font managers and CS5

    Has anyone had any of the font managers work with CS5? I tried Font Agent and the plugin generates an error at statup.

  • Internet Explorer upgrade

    My HP Officejet 6110 works fine with Safari, but certain web sites come up in IE which won't work. The HP tech people advised me on the phone but couldn't resolve the problem, suggesting that it's an Apple problem. One suggested that I upgrade my IE

  • Form List: Display only on certain columns based on values

    Hi there, Let's say I have a list of condition types. And I want to make some condition types READ ONLY. Is that possible? Thanks, Josh

  • Conversion of large RAW images broken in iOS 7?

    Under iOS 6, I was able to use the camera connection kit to import 36 MP RAW (.NEF) images from my Nikon D800 to my iPad 2, and then open them in Snapseed for quick edits while on the road.  Along came iOS 7 and Snapseed crashes trying to open these

  • Fixed header in FIORI like app!!

    Hello All, I am building a Fiori like app. I want to have a fixed header for this app and the header would be the company logo and a stretched image. I have implemented this but the problem I am facing is that the, when I run the application on IPad,