Which command I can use to exit from a subvi without exiting from labview in run-time?

Similiar to 'Exit Sub' command in Visual Basic.

> Similiar to 'Exit Sub' command in Visual Basic.
There isn't a command to do this. Since LV is a dataflow language, it
is important that all the data be delivered to the output terminals.
BASIC is a procedural language, with all sorts of control flow commands
like this, and if you are using a functional language or a dataflow
language, you simply focus on getting to the end of the function. If
you are in a while loop, you terminate the while loop by the value going
to the conditional terminal. If you are in a For loop and need to exit
early, perhaps it should have used a while loop. If there is code in a
normal diagram that you sometimes do not want to execute, it should
probably go in a case structure.
The other reply has some good suggesti
ons in that you probably have a UI
or a sequence that you want to exit out of. Organizing your code so
that you are in a button handling state or exiting state will help you
organize how you think about the transitions between states. On the
other hand, there lots of examples and user contributed VIs to look at.
I'd recommend you get comfortable with a few of them since the state
machine is just one programming tool, just like the loop and case
statement that it is built from.
Greg McKaskle

Similar Messages

  • Which table i can use to find out the condition type in PO item ?

    Hello, erveryone. Which table i can use to find out the condition type in PO item ? Thank you.
    Xinzhou.

    hi
    The Table name used to find the Tax Values are
    KOMV: Pricing Communications-Condition Record
    KONV: Conditions (Transaction Data)
    From the above tables you can refer the fields below.
    KAWRT
    KBETR
    for excise check table J_1IEXCHDR for header
    J_1IEXCDTL for item excise
    Fetch the corresponding records based on the field
    KNTYP
    regards
    kunal

  • I have deleted by accident the backup folder on an external HD. Any advice on which app I can use/buy to recover the info? Thanks in advance!

    I have deleted by accident the backup folder on an external HD.
    I did the backup since I had to sent my macbook pro retina display to customer care.
    By accident, I deleted the backup folder on my external HD.
    Any advice on which app I can use/buy to recover the info?
    Thanks in advance!
    elmoven.- desperate trying to recover his Ph.D info from 3 years

    IT SOUNDS wiered but there is just for your pc just goto statrtup menu--->System tools -->system restore by Today's date and time

  • Which table i can use to get standard price of previous periods ?

    Hello, all.
        Which table i can use to get standard price of previous periods ? Example, current period is 2008/11, i want to get the standard price of period 2008/05 .
    Thanks.
    Xinzhou.

    Look in MBEW and MBEWH.
    Regards

  • Which report I can use ?

    Which report I can use for
    1. total purchase value for a period
    2.Material with standard unit price and unit price.
    3. Material inventory with project

    1. total purchase value for a period =ME81N, MCE1, MCE3, 7
    2.Material with standard unit price and unit price.= MM60
    3. Material inventory with project=MBBS, MB52 with Project stock indicator

  • Which filter i can use to identify text CYM at work 100% black ?

    Which filter i can use to identify text CYM at work 100% black ?
    That's may problem:
    I have one work 100% black (book), end fill texts may include CYM, how to identify them using a filter (Shift+ctrl+x)
    Thak's

    I'd use the settings you'll use to convert the data (or Absolute). If you do any conversions in Photoshop, make sure Dither is off.

  • Instead of using *mval and *newcol function which functions we can use

    Hi,
        I am new to BPC Instead of of using *mval function which function we can use and same for *newcol which function we can use in transformation file ?
    thanks in advance

    please post in a BO forum

  • Which tool we can use in Web design except photoshop?

    I have six experience in web  design developing,Need more advice,Which tool we can use in Web design except photoshop?

    Dreamweaver is pro-level software for web designers & developers. If you have the necessary coding skills, there's not much you can't do with DW.  If you don't, the learning curve can be quite steep.
    If you join the Creative Cloud, you have access to the following other web design products:
    Muse is web design software aimed at non-coding designers & hobbyists.  The trade off for Muse's  "ease of use" is static HTML pages with limited functionality.  In other words, you could not use Muse to build a shopping cart site but it might be all you need for a simple  hobby, church or charity site.
    Edge Animate
    For creating HTML5 Animations and interactive site pages.
    Edge Coder
    A coding editor.
    Edge Reflow
    For creating responsive web design layouts that work on mobile phones, tablets & desktops.
    Edge Web Fonts & TypeKit -- custom web fonts
    PhoneGap -- for creating mobile apps
    http://html.adobe.com/edge/
    Nancy O.

  • Send command to modem using serial port and capture the response in the labview

    hello.
    I am doing my shool project.
    I want to send command to modem using serial port and get the response in the labview.
    When i run my program and enter"AT", only messy code will be displayed.
    can anyone help me? thanks 

    Dora0512 wrote:
    Thanks for you all. My partner got it already.
    I am doing send sms part.
    Can anyone tell me why my program is not so steadily?
    It means this program can run. But somtimes I cannot receive sms. sometimes can
    Basically, it is not well-written from both a LabVIEW and a communications point of view.  Unfortunately, I can't elaborate because today is an exrtremely busy day at work.  I'm hoping this bump will prompt someone to help you with your problem.  If you could also provide us with the programmer's guide or the manual for your equipment, that would be extremely helpful.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • I have over 2000 photos on my iPad2. I have backed them up to my PC. How can I delete most of these from my iPad without deleting them one at a time?

    I have over 2000 photos on my iPad2. I have backed them up to my PC. How can I delete most of these from my iPad without deleting them one at a time?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • Which index values can be sent to "Insert Into Array" without changing the present array ? E.g. index -1 ?

    Which index values can be sent to "Insert Into Array" without changing the present array ? E.g. index -1 ?
    Could not find this info via the "Context Help" window.

    If you have to handle situations where you do not want to insert something in an array, then you can either use a negative index value as you suggested, or put the insert node in a case structure, with the "do not insert" case empty (almost...just crossed by the array wire!..)
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • I made an album just now. I went back to delete the pics from my camera roll but my only option is to "delete everywhere." I want to leave them in the new album I made..  How i can delete them from camera roll without deleting from other Album i made

    I made an album just now. I went back to delete the pics from my camera roll but my only option is to "delete everywhere." I want to leave them in the new album I made..  How i can delete them from camera roll without deleting from other Album i made

    The way that I understand that it works, is that the photos are not copied into the new albums, instead it just points to the photos - the number of photos on the iPad in Settings > General > About doesn't increase when you create new album so I assume from that that it isn't copying the photo, just pointing to it. So if you delete the photo from the camera roll you will therefore also be deleting all the pointers to it

  • Hello everyone i want to know if i download osx mountain lion on my macbook air paying it s price from the apple store can i download it on my iMac without paying it s price another time since I would ve  paid it the first  time

    hello everyone i want to know if i download osx mountain lion on my macbook air paying it s price from the apple store can i download it on my iMac without paying it s price another time since I would ve  paid it the first

    yes, once paid for, you can download it for free on any other mac you own.

  • Is there anyway i can use my ipod to get apps without having to make a itunes, if not my ipod is pointless an mess well take it back, casue i cant put in any cedit card id stuff

    Is there anyway i can use my ipod to get apps without having to make a itunes, if not my ipod is pointless an mess well take it back, casue i cant put in any cedit card id stuff

    Why can you not " put in any cedit card id stuff"?
    You have to have an itunes account to use itunes.
    Perhaps if you explained the issue, someone could help.

  • Which include i can use instead of PNP LDB

    Hi Friends -
    Which standard include i can use for PNP  LDB  ?
    am working in abap webdynpro and need to use some macro like rp_provide_from_last  but for them we have to use pnp ldb and in abap webdynpro we can't define  LDBs    so  i need the standard Include prog which can fulfill my requirment ..
    Pls share your inputs on this.
    Regards
    Meeta

    Hi Txs for your quick turn,
    could you pls tell me what is wrong in my this code ,
    include DBPNPMAC .
    INFOTYPES 0000.
    DATA: pnp-sw-found,
    pnp-sy-tabix like sy-tabix.
    parameters :  p_begda like pa0001-begda,
                  p_endda like pa0001-endda.
    START-OF-SELECTION.
    RP_PROVIDE_FROM_LAST p0000 space p_begda p_endda .
    if PNP-SW-FOUND = 1 .
    write : / p0000-pernr,p0000-begda,p0000-endda.
    endif.
    end-of-selection.
    am not getting any output  but if  i use  LDB pnp and  get pernr i will get  ..
    but i cant use LDB  pls  suggest me what i shd do ?
    Regards
    Meeta

Maybe you are looking for

  • Formatting music from windows to a mac using third party app

    i used a third party app so that i could download music from a pc onto my os x formatted ipod. initially it worked when i moved the music into my itunes library on my mac, but for some reason now a lot of the tracks won't play and my computer freezes

  • Report Export option on the top

    Hi In Oracle Apex reports, Can we have Report Export option on top and bottom simultaneously? Thanks,

  • Zip File with CRXI FP 63 RDC MM damaged!

    Hi, I have now downloaded the following file https://smpdl.sap-ag.de/~sapidp/012002523100009333602010E/crxir2fp63_rdc_mm.zip several times with MSIE, FoxPro and Opera. The result is always the same: The zip-file cannot be opened (Winzip, Alzip, 7zip)

  • Z1 Comapct camera freezes

    So I just bought this Z1 Compact a month ago, and the device has been doing great the first two weeks and all of a sudden when I try to capture an image it freezes and I have to switch it off and back on for the camera to work. That is so disturbing

  • After i export a file I am unable to open the saved file

    after I export a file I am unable to open the saved file