Go out from stack sequence when there is an error

Hi All,
I have a small code that used to do the simple testing. I used all stack sequence to control the equipment sequencely. What I want to do is if there is an error (either failed to control equipment or any error that can occur) in any sequence, the code will make it go out rather than loop thru all the sequence then go out, is it possible to do this kind of feature ? I do try to using the event to raise the error but it failed cos I have no idea how to do it.Anybody please help.
Thanks 

But the problem is there are too many VI (about 20++
Are you running 20 different test sequences ?  Or 20 instances of the same test?
If it's the same test, or even a similar test, then make it a subVI, feed it parameters to customize it, and be done.
If they're really that different, then the mistake was to write 20 different test sequences without handling errors.
If that's the case, I know of no way to automatically replace the things. 
Message Edited by CoastalMaineBird on 07-16-2009 05:14 PM
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • The other day I had to reset my phone because i pulled it out from my laptop when it was updating. I then tried to restore it but i clicked the wrong option and it has restored all of my stuff from 2 years ago, is there any way to get back the stuff I had

    The other day I had to reset my phone because i pulled it out from my laptop when it was updating. I then tried to restore it but i clicked the wrong option and it has restored all of my stuff from 2 years ago, is there any way to get back the stuff I had

    maggielou wrote:
    I thought that I had backed up my pictures to icloud, but when I looked online at icloud, I don't see pictures listed.  However, a few of the recent pictures have shown up on my phone.
    IHow could I get these from my MacBook to my phone?
    Thanks again.
    When you log into you icloud account on your computer you are viewing data that you sync to icloud not the backups.  You can't view the backups.
    Look at the two links I provided.
    You still didn't answer any of my two questions I asked.

  • There are electric charges coming out from the laptop when I touch it. It is just happened when the mac is connected to the power supply.

    There are electric charges coming out from the laptop when I touch it. It is just happened when the mac is connected to the power supply.

    http://reviews.cnet.com/8301-13727_7-57388858-263/ouch-my-mac-shocked-me/?tag=mn col;txt
    Best.

  • I have been trying to download ios8. I dont remember exactly what happened but at some point I ended up unplugging my phone from my computer because there was an error. Every since then it has not been turning on or responding to iTunes.    When it d

    I have been trying to download ios8. I dont remember exactly what happened but at some point I ended up unplugging my phone from my computer because there was an error. Every since then it has not been turning on or responding to iTunes.
    When it does respond to iTunes it tells me that I have to restore my phone. I click restore and it says "Extracting Software". It gets all the way to the end and then says that there is an error; something about a disk being full?
    I have no idea what is going on and I could really use some help.
    Thanks.

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • Calling a subpanel, pops up in own window instead of sub panel when there is an error

    Hi all. I am working on my first real LV project for my company, and I am having some problems. The main one right now happens when I am trying to call a subVI into a subpanel. It shows up in the subpanel just fine when the program starts, but when there is an error in the error handler it skips over the invoke method and pops my subVI in its own window. Anyone have an idea on what I am doing wrong? I have included a picture of how I am trying to populate the subpanel.
    Attachments:
    subpanel.jpg ‏59 KB

    robot_mower_guy wrote:
    but when there is an error in the error handler it skips over the invoke method and pops my subVI in its own window.
    I assume you have an error handling case in your state machine.  So if an error happens in your error handler, you will have be passing that error around the shift register.  Yes, that will mean that the invoke node ot insert the VI will not run due  to the error.  You need to handle your error from the error handling state.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Prevent save Message when there is an error

    Hi all,
    Please help me out here.
    I want to prevent saving a new Support Desk Message when there is an error in the message.
    Kind regards,
    Remy Piets

    Hey Remy,
    This can be achieved if you are ready to do some coding...
    U need to use implement BADI ORDER_SAVE..
    Within this BADI u can have your business validations done...
    If the Validations fails then you have to raise an exception DO_NOT_SAVE...
    This is satisfy your requirment.....
    Reward for usefull post...
    Regards,
    Anand........

  • TBridge limitations: when there is an error, the message is put back in the source QSPACE

    The "WebLogic Tuxedo Connector Administration Guide" (BEA WLS 6.1, December 19, 2001)
    Chapter 5: "Configuring tBridge",
    last section: "Limitations"
    mentions: "when there is an error, the message is put back in the source QSPACE.
    Assuming the QSPACE is corrupted or full, subsequent messages would be lost."
    QUESTION: will be this limitation
    (a single message having permanent errors will stay forever in the head of the fifo
    queue -->
    resulting in QSPACE full --> reulting in loss of all messages)
    be solved in a future version ?
    If YES, WHEN ?
    thank you
    Justin

    See:
    * [[Cannot log in to websites]]
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • Exiting from sqlplus when there is any errors while compiling pl/sql progra

    I am connecting to sqlplus from unix and I am executing a pl/sql script . Now if I get some error while compiling a procedure, package, function or any sql statement I want to exit sqlplus.
    whenever sqlerror works only for sql statements but not for plsql
    I dont want to query user_errors table and then throw some exception depending on the same .
    Is there any command available or any easier way to solve this problem ?

    Those errors we get only when there is conflict in same etc.
    Now consider the example here
    sample.sql
    whenever sqlerror exit failure ;
    declare
            s1 long;
    begin
            s1 := 'create or replace procedure proc1 as '||
              'declare '||
              'begin '||
                  'end; '||
              'end;';
            execute immediate s1;
    end;
    select 1 from dual;When I run the script
    SQL> @sample.sql
    ERROR:
    ORA-24344: success with compilation error
    ORA-06512: at line 9
    Warning: PL/SQL compilation errors.
             1
             1Actually I want to get out before it executes select means once it throws error in pl/sql.

  • Retrieve iteration from stacked sequence structure

    I have a stacked sequence structure with 15 iterations. Is there a functional equivalent to the "i" from the For loop or a way to make one?
    I need to trigger some other events based on what iteration of the stacked sequence is running. 

    Let me first reiterate what the others have said. Avoid stacked sequences like the plague!
    I have found that except for very few situations there is always a better way then using a sequence structure.
    That being said you could use a local variable to do this too...
    Attachments:
    it3.jpg ‏43 KB

  • Does anyone have a suggestion for a device that I can upload data to from an iPod when there is no wi-fi available? I'm using iForm to collect data and I need to get it uploaded to a database.

    can anyone recommend a device to upload data from an iPod when no wi-fi is available? I am using iForm to collect data in the field and I want to be able to upload it periodically.

    Hi there,  I'm myseld using the Application data-field in order to collect mobile forms OFFLINE.
    I can collect as many mobile form as i want BUT, of course, need to be online to sync the data from mobile to their cloud.
    Hope that helps.
    Otherwise, would probably need to plug ur idevice and look for the application database with such tool as iConnector.

  • Iphoto locks up and refuses to finish photo import from iphone 4 when there is a video present.

    Iphoto locks up when attempting to import photos from iPhone 4 if there is a video file in the phone.  Previously, iPhoto would import videos from a camera.  What's the problem here?

    I have the same problem as the upload from the Iphone takes a long time and the 'importing 30 photos' seems to be stuck.  Anyone have any idea what to do?

  • How to stop tposting of documents when there is an error in record

    Hi,
    I have one issue with respect to posting of documents.
    In my Exl sheet there are 1900 records which would split into 950 records during run time.
    For each 950 records a document to be created.  Here the issue, during test run thers is no error where all the validations are done and records in xl sheet are correct.
    However when  posting, i am submitting to to standard program rfbibl01, where it is creating the session and output of the program is not showing any errors - report.
    During execution of  session, it is creating document for 1 set of 950 records and for 2 set it is finding some error and not creating any document.
    Now my requirment is as follows: since there is an error in second set, i don't want to post any record starting from the begining. No document should be created.
    In my program  once i have submitted to standard document i don't have any control over the progam in stopping the creation of session or document creation.
    Any solutions are most welcome.
    Thanks in advance.
    Regards
    Harikrishna
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:46 AM
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:49 AM

    Hi ,
    Use the FirstVisibleRow property of the table , bind with some attribute containing the index of the selected row...
    Regards
    Yash

  • How to stop the posting of documents when there is an error in record

    Hi,
    I have one issue with respect to posting of documents.
    In my Exl sheet there are 1900 records which would split into 950 records during run time.
    For each 950 records a document to be created.  Here the issue, during test run thers is no error where all the validations are done and records in xl sheet are correct.
    However when  posting, i am submitting to to standard program rfbibl01, where it is creating the session and output of the program is not showing any errors - report.
    During execution of  session, it is creating document for 1 set of 950 records and for 2 set it is finding some error and not creating any document.
    Now my requirment is as follows: since there is an error in second set, i don't want to post any record starting from the begining. No document should be created.
    In my program  once i have submitted to standard document i don't have any control over the progam in stopping the creation of session or document creation.
    Any solutions are most welcome.
    Thanks in advance.
    Regards
    Harikrishna
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:45 AM
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:48 AM
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:50 AM

    Hi ,
    Use the FirstVisibleRow property of the table , bind with some attribute containing the index of the selected row...
    Regards
    Yash

  • I can't eject my cd from the drive because there was an error! What do I do?

    I'm not sure what to do because I can't eject my cd from my cd drive because there was an error on the cd after I tried to put pictures on it. I tried to burn 37 pictures to a 700MB CD-R80, and it seemed to work and then at the end it said there was an error and it spit the cd out... so I probably shouldn't have done this, but I put the cd back in my macbookpro and tried to use it again because I wasn't sure what happened... Well it obviously didn't work! I tried to shut down my computer and restart it, but that didn't do anything and the cd didn't even show up on my desktop, and I couldn't find it in Finder or in my system preferences or anywhere.
    Any suggestions before I take it in to the Apple store to have them take a look at it?

    Restart again but this time hold down the mouse button 'til it ejects.

  • HT1725 Why cant download from apple store? "There was an error in the App Store. Please try again later. (100)"

    Why cant i download application from apple store, they said :There was an error in the App Store. Please try again later. (100) and they suggest : Contact iTunes Support at http://www.apple.com/uk/support/itunes/ for assistance. pls help me

    Why cant i download application from apple store, they said :There was an error in the App Store. Please try again later. (100) and they suggest : Contact iTunes Support at http://www.apple.com/uk/support/itunes/ for assistance. pls help me

Maybe you are looking for

  • "select into" query statements using the DI API

    I am trying to use the DI API (6.5) t create a temp table based on an existing table.  For example, here is a query string.... select * into ORDR_TEMP from ORDR Code... oRecordSet := IRecordset(oCompany.GetBusinessObject(BoRecordset)); oRecordset.DoQ

  • Dynamic view names in view objects (adf faces bc 10g)...

    I have written an application in adf faces and business components, but would like to be able to add sections to it by simply creating a database view, say with standard names and a suffix, and probably static number of columns (just a read only view

  • DUMP ERROR: INVALID PARAM VERB : ENABLEAPSSO

    I am working on CRM 4.0. After  executing  the transaction CRMD_ORDER_BP, I  got short dump "Exception condition INVALID PARAM VERB: ENABLESAPSSO raised." with "RAISE_EXCEPTION" C "SAPLOLEA " or "LOLEAU10 " "AC_FLUSH_CALL_INTERNAL" . How to solve thi

  • 2 different emails - Photoshop / Behance

    hello. I bought photoshop with an email but for years I have a Behance account with another email. how do I change email in the cloud that I see my accout Behance but I can also make updates with the other mail address? is it possible? thank you

  • Join help pls

    hello can some one help me in joining the tables po_vendors and gl_je_headers or gl_he_headers thankyou