How do I exit a while loop which has a 'read from spreadshee​t' pop up in it?

I have a while loop which calls 'read from spreadsheet'. My problem is that after entering a filename the loop repeats too quickly for me to hit the end loop button. How do I exit the loop without adding a delay after the read thereby slowing the loop when I don't want to exit. If I select cancel I get 'error 43'. Is there a way to to use an error handler to prevent this from popping up and use it to end the loop?

It's the error handler inside Read From Spreadsheet that creates the message. Specifically, one of the VIs called is Read Lines From File. The last VI in there is General Error Handler. You can delete it and save it with a different name. You should also modify it to return the error cluster. You'll also want to modify Read From Spreadsheet to return the error cluster so that you can trap the error in your VI. When cancel is selected, error code 43 is generated. Stop the loop when you see 43.

Similar Messages

  • How do i exit a while loop using event handler

    Hello,
    I have an event handler structure within which i run a while loop for a particular event. I would like to interrupt the execution of this while loop as soon as another event occurs, even if the while loop has not finished execution. I have tried so many ways, the best i could get is exiting one itteration after the new event occurs which is no good for me.
    Any suggestions???
    Thanks
    Me

    Instead of having a task while loop in an event case, put your task while loop in parallel with the loop surrounding the event structure. When the event which should start the task occurs, you can signal the start of the task while loop. You could use local variables of references to start/stop the loop when an event occurs. You could also use notifiers instead of variables to pass signals to start/stop the while loop. In general you should have a while loop for the event structure, and a parallel while loop to do the tasks. The parallel loop is controlled by variables or notifiers which are set in the event cases.
    - tbob
    Inventor of the WORM Global

  • How to EXIT the while loop in Event response section?

    I'm writing a program to grab image using a NI card. The application uses the Event structure. When the GRAB button was pressed, it snaps image continually by putting the SNAP function in a while loop. Is there some way to exit the while loop?(Note :The while loop was put in the GRAB IMAGE event response section.)

    edit this event-case AND uncheck "lock front panel until the event case for this event completes".
    BTW, your thanks should go to Ankita, <a href='http://forums.ni.com/ni/board/message?board.id=170&message.id=151282'>here</a>
    cheers! 
    Message Edited by Dynamik on 11-13-2005 01:26 AM
    Message Edited by Dynamik on 11-13-2005 01:38 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    untitled.GIF ‏20 KB

  • Facing problem while removing XML tags which has been generated from SAP

    Hi All,
    I am facing problem in MII, while i trying to remove 1st 2 XML tags of XML as generated from SAP.
    Here is XML which has been generated from SAP
    u201C<?xml version="1.0"; encoding="UTF-8"?>
    <ZCIFSCHEDULE>
    <SCHEDULE>
    <MESSAGE_TYPE/>
    <SITE>A300</SITE>
    <SHOP_ORDER>2012020856</SHOP_ORDER>
    <QTY_TO_BUILD>6.000<;/QTY_TO_BUILD>
    <DATE_TIME>08-FEB-2012 20:57:21 +05:30</DATE_TIME>
    <OPERATION>PRS</OPERATION>
    <ITEM>IN-CT00228</ITEM>
    <DPICS_CODE>1229</DPICS_CODE>
    <REVISION/>
    <CYC_TIME_CURING/>
    <FLAG_AGING/>
    <AGING_MIN/>
    <PRODUCTION_VERSION/>
    <CYC_TIME_OC/>
    <CYC_TIME/>
    </SCHEDULE>
    </ZCIFSCHEDULE>u201D
    From above i want to remove 1st 2 tags and last one tag i.e.  u201C<?xml version="1.0"; encoding="UTF-8"?> , <ZCIFSCHEDULE> and last tag ZCIFSCHEDULE>u201D
    Its urgent!
    Did anyone done regarding this issues. Thanks in advance.
    Kind Regards,
    Praveen Reddy

    Hi Praveen,
    Are you trying to make the xml into a string?  I think if you remove the first tag, it will either automagically reappear or it will throw and error as being poorly formed xml. 
    In general, you can remove the nodes by the use of indexes.  Since you are operating at the root level, I am not sure how well it will work, but if your xml is in a property, you can reference the specific nodes by something like this:  myXML.Output{/*[1]} which if you put it in a tracer will display the contents of the first node (or blank if there are child nodes).  The node index can be dynamically set, but start with the simple hard coded one.  I would also start at the lowest child level to verify that it is working properly (a tracer will display the contents specified by the index).  You can also google xml indices (or indexes) and it will point to some other useful xml operators.
    I suggest that you play around with it and also work with the Link Types (hint: removeXML).
    Regards,
    Mike

  • HT204394 How can I expunge my iCloud account which has become contaminated and open a new one?

    How can I expunge my iCloud account which has become contaminated and open a new one?

    If you want to create a new iCloud account, go to Settings>iCloud, tap Delete Account, then sign back in with a different Apple ID to create the new account.  If you have any photo stream photos that you want to keep, save them to your camera roll before deleting the account.

  • How to find in R/3 System, which FI document is from which external system?

    Hi Moderator/ FICO Experts,
    How to find in R/3 System, which FI document is from which external system?
    In case of different Non-SAP external Systems posting the data to one R/3 System.
    Thanks
    Chandra

    Hi,
    That really depends on the interfaces that your external systems are using. Check with your ABAP or BASIS team to see what is the method used for posting those documents and with which parameters is passed. Look at BKPF table (FI header) to see the attributes such as user, document type, reference, etc.
    Regards,
    Eli

  • How do I remove a gmail calendar which has inadvertantly become merged with my home apple calendar

    how do I remove a gmail calendar which has inadvertantly become merged with my home apple calendar?
    I have to view the gmail calendar as well, but now some entries are appearing as duplicates.
    Currently I view my own apple calendar (home), a gmail calendar, a googlemail calendar and a friend's icloud calendar  on the same screen - (all view only).
    Hiding or deleting either the gmail OR the Home calender leaves me with missing entries.
    Showing both gives duplicates.
    Help please.
    Earlier today, I lost my friend's calendar (icloud on an iPad) when he accidentally changed something.   Trying to get that back (unsuccessfully) he or I must have inadvertantly changed someting, but don't know what.
    I also view my calendar on ipad2 and iphone 5, but have not touched any of these settings.
    Getting desperate! - the gmail and googlemail are the church calendars and there will be chaos if I can't get this fixed!

    pretty sure in the settings -> email and stuff or maybe the notifications you can disable the gmail calendar at least theres where mine are along with the facebook and the other calendars you can add and remove

  • After I restored my ipad I chose itunes restore. now how can I get my info of which is backed up from icloud?.

    hi all!
    Reseting ipad, we are asked to restore info from icloud or itunes. If we choose icloud, the info will be restored, but the apps on the ipad should be downloaded from app. store! because icloud can't save the applications. and If we choose to restore with itunes, the apps will be loaded quickly ,But still we need our info in icloud. and if we go to icloud backup , from ipad settings, we just have one choice: back up now! that backs up the new info, not our backed up info. but we need our backed up info.
    After I restored my ipad I chose itunes restore. now how can I get my info of which is backed up from icloud?

    bechosken wrote:
    My friend wanted to get some music off my itunes
    This is called "stealing". You do not have the legal right to give her the music you have in your iTunes library unless you are the copyright holder.
    when syncing it it said she had to update her phone software first
    That's not quite what it said.  Someone should have paid more attention to the great big warning about the possibility of losing data if the phone wasn't backed up.
    We cannot find her new photos. Please help and there was 100 new pics. Is there any way we can get them back. I already have the program Asoftech - but it doesnt seem to register the iphone only C and D drive. Please help!
    It restored the backup that was made on your computer 6 months ago, which did not contain those photos. You're wasting your time trying to find them on the phone. They don't exist.
    Hopefully, your friend syncs her phone to her own computer on a regular basis. She needs to plug her phone into her computer and restore it from her last backup. That will restore it to the state it was in when the backup was made.
    She also needs to get in the habit of extracting the photos on a regular basis, like she would from any other digital camera.

  • How to get value of a textfield which has been set as Renderd false.

    Hi all
    how to get value of a TEXTFIELD which has been set as Renderd false.
    i am getting the value of this textfield from an lov but dont want to show it to the user.
    getting error as:
    attribute xxxx required for view object yyyyy.
    pls help
    naveen

    You can create item inside your LOV region, set the item style to formValue. You can associate this to a View Object field. It can also act as mirror of any other text input field.
    FormValue can hold the value and will not be diaplyed to user. You can read value from it controller
    example
    OAFormValueBean orgValue = (OAFormValueBean)webBean.findChildRecursive("OrgIdFormVal");
    Or you can read it fro the VO associated with this form value.

  • PSE12 editor stopped working - sas elements 12 editor not working - how can i get editor to work - which has been working fine for a yhearÉ

    PSE12 editor stopped working - sas elements 12 editor not working - how can i get editor to work - which has been working fine for a year nowÉ

    Thanks for the quick response ...
    I had already tried deleting the review slide itself, though Captivate wouldn't let me - it just hid it. I tried again using the method you recommended but the slide remained in the filmstrip, so I tried deleting again, then re-added it from the Quiz Settings page ... no joy, same behavior as before.
    I checked the Advanced Interaction page and confirmed that all of the scored questions were configuredthe same way as the non-scored questions, with the only difference being the pool that they were drawing from.
    Other thoughts? I am by no means a Captivate expert but this one really feels like it shouldn't be this hard, and I'm more than a little afraid that it's the file itself that's jacked up ...

  • How to find material and vendor combination which has freight conditions?

    Hi Please help me, its very urgent.
    How to find material and vendor combination which has freight conditions?
    Waiting for your help.
    Regards,
    Marella.

    Hi marella,
    Try MEKA transaction.
    Gopi

  • How can I obtain the Pages app which I previously purchased from the App store for Snow Leopard? The only download now available is for Mountain Lion which my computer can't run. Thanks

    How can I obtain the Pages app which I previously purchased from the App store for Snow Leopard? The only download now available is for Mountain Lion which my computer can't run. Thanks

    Try Amazon but look for the iWork suite of software. It's only sold separately as Pages, Keynote, and Numbers from the App Store.

  • Will the 10.8.3 combo restore my Mail application which has disappeared completely from my IMac

    Will the 10.8.3 combo restore my Mail application which has disappeared completely from my IMac?
    Is there any way that my Mail application can be restored?

    If you are using OS X Mountain Lion, the 10.8.3 Combo is the first step you have to take in order to recover Mail in the computer. Theoretically, it should work, but it's possible that it doesn't. If, after installing the Combo, you haven't recovered Mail, reinstall OS X, holding Command and R keys while your computer is starting and following the steps to reinstall Mountain Lion. You won't lose anything doing it

  • Ive deleted movies from itunes which has removed them from apple tv, i still have them on my ipad, is there any way i can get them back into itunes?

    ive deleted movies from itunes which has removed them from apple tv, i still have them on my ipad, is there any way i can get them back into itunes?

    If the movies were rentals then no.
    If the movies are purchases and you have the iTunes 10.4 then you should be able to access the 'cloud' option from in the main iTunes page  - purchases - (upper right corner) and go from there.
    You should also have the option to transfer purchases from the iPad back into iTunes. I don't have an iPad but you can transfer purchases from the iPod/iPhone back to iTunes.
    MJ

  • Just purchased a new pc. Downloaded Itunes. Downloaded some new music. Went to add the new music to my iphone off my new computer but it wants to wipe all of my existing music which has been purchased from itunes. HELP! What should i do?

    Just purchased a new pc. Downloaded Itunes. Downloaded some new music. Went to add the new music to my iphone off my new computer but it wants to wipe all of my existing music which has been purchased from itunes. HELP! What should i do?

    Kford_red wrote:
    Feel a bit gutted as spent £££'s downloading music tonight and not been able to get the songs onto my phone so far!
    The music you just downloaded tonight to your new computer is safe. The music you purchased on your phone is safe.  You shouldn't feel gutted.  It's your other music that you should have taken better care of.  That would include any music you ripped yourself or purchased outside of iTunes.  That you can't get back.
    It has always been the user's responsibility to back up and protect downloaded music.  If you didn't have a backup of your computer before it started acting funny, that's your fault.  It would be no different than if you lost a music CD.  It would not be a record store's responsibility to replace if you lost it.  Digital music is no different.  Similarly, a phone is not a backup medium.  Phone's break, get misplaced or stolen all the time and are not a substitute for a backup copy of your music and media.
    Computers WILL break.  Hard drives WILL fail.  That's why you back up your data. 

Maybe you are looking for

  • Frm-18108 olb no longer exists

    Hi, i am using 10gR2 forms. at first i created a olb containing webutil and my bean areas. i used it for a while and then i give up using it and decided to develop different design. but still my forms developer gives error frm-18108(failed to load th

  • Back to my mac and cable modem

    I can't find a definitive answer to this question. Is there a cable modem that is compatible with Comcast that supports Back to My Mac? Right now we have Comcast for business with fixed IPs, so I have just been using afp:// and vnc:// to access my ho

  • Sick of Adobe Support / CS4 Library Slow

    I'd like to start a discussion on the total lack of professionality of Adobe's support requests. Almost every time I send a request for support, with full details of the problem, I'm sent back a response that along the lines of "do you have the lates

  • I accidently deleted everything off my ipod, how do I get it back?

    I accidently erased everything off my ipod. Now its stuck on the screen connect to itunes. How would I go about getting everything or most of everything back?

  • Events in oops

    hi, in handling events is it compulsory to create the class? because i tried to do that and it worked i.e without creating class.isnt it possible just by call method to print for e.g top of page?