How to return out of a subVI into a calling VI and not stop the calling function

I am writing a program that consists of a calling VI and a sub VI. I want the calling function to be running continuously and be able to trigger the sub VI (via voice activation). I want the sub VI to time out automatically after 10 seconds and return to the calling (master) VI, which will continue running until the sub VI is called again.
I found a way to time out the sub VI using the "stop" command, but this quits the calling VI too, which cannot happen. I know there is no "return" or "soft stop" in LabVIEW, but does anyone know a way to do this?
Solved!
Go to Solution.

I am a student working on a project involving voice activation. the overall idea is to have a person say a command (like go or something) that then gives them a 10 second window to say other commands and have them recognized by the program. The idea is to eliminate false positives by nesissitating a calling command that is not spoken very often, and then having 10 seconds to activate what we are trying to vocally control. I hope that helps clarify the intent of the program.
I was using a flat structure just because I sucessfully got the sub VI to time out using a flat structure with a boolean false on one side with a wait of 10 seconds, then a boolean true on the other that triggered a stop. this successfully ran the sub VI for 10 seconds and then stopped it; however, it also stopped the calling VI which is my problem. right now, I have a while loop in the calling VI that contains an elapsed time timer and the sub VI and it works (kind of). it sucessfullly calls the sub VI, but not for any given amount of time. it changes each time it runs; sometimes it stays running for 10 seconds before returning to the calling VI, sometimes it just flashes, and sometimes it just doesn't return. I am also experimenting with mathscript code.
My partners and I are all new to labVIEW, so if something seems less than optimal, it is because of our inexperience.
Thanks again for your help.

Similar Messages

  • How can I transfer photos from my  iMac to my iPad and not lose the ones already stored on the iPad.

    How can I transfer photos from my  iMac to my iPad and not lose the ones already stored on the iPad?  When using iTunes to sync a folder from the iMac to the iPad it always removes anything previously synced.
    Help appreciated
    David

    I've just found out the reason for this behaviour. I am syncing from a computer which is different to the one I first synced with. iTunes can't cope with this situation so deletes anything synced from another source.

  • Does anyone know how to reload Java SE 6 back into Lion until Apple and Oracle get it together?

    Does anyone know how to reload Java SE 6 back into Lion until Apple and Oracle get it together?

    See the following, with all of its caveats:
    http://managingosx.wordpress.com/2013/01/31/disabled-java-plugins-xprotect-updat er/
    For what it's worth, I am not using this method, nor am I re-enabling Java until Oracle comes out with a fix. I also won't be available to advise you on troubleshooting this method.

  • How can I find out the overall time and not only the time of a single clip?

    I have set up two cameras in one room. Both cameras record the same thing from different perspectives at the same time. I have found an interesting scene for video 1 (recorded by camera 1). Now I would like to find the time at which the interesting scene takes place in video 2.
    However, I have not seen any way to get displayed, at what time the scene starts in relation to the total length of the video (e.g: scene starts after 5 minutes from total 10 minutes).
    The indicated time refers only to a part of the clip and not to the overall project, even if a special clip is not selected. Does anyone know, how I can find out the time?

    Go to Settings>iCloud>Storage & Backup.  It will be shown just below the Back Up Now button at the bottom.

  • When trying to upload a cd onto itunes it chooses to chop the original cd into 4 separate albums and mix up the track order. Any ideas why and how to overcome this problem?  ( the cd is guy gerber and called fabric 64)

    When uploading a cd onto itunes on my imac it has choosen to copy the original cd into 4 seperate cds and mix up the track order, particularly annoying as this is a mixed cd (Guy Gerber, fabric 64) .  Any ideas why when everthing else copies perfectly and how to rectify this problem?

    See Grouping tracks into albums.
    tt2

  • The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    Click on the Layout button lower right and choose a Vertical lyout from the dropdown

  • I needed to install a previously purchased CS6 versus on new computer. To do this, I had to download a version from CC. I will not be using CC. How do I activate Photoshop under my license so that it does not stop working when I am out of communication ra

    I needed to install a previously purchased CS6 versus on new computer. To do this, I had to download a version from CC. I will not be using CC. How do I activate Photoshop under my license so that it does not stop working when I am out of communication range a month from now?

    The CC version will not activate with your perpetual CS6 license. Download the version from here:
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Your number should work with this version.

  • How do I convert a .pub file into a PDF, 2 page spread without the dotted line down the center?  I can select 2 page view and cover page in 2 page view, but the dotted line shows up.  Thank you!!

    How do I convert a .pub file into a PDF, 2 page spread without the dotted line down the center?  I can select 2 page view and cover page in 2 page view, but the dotted line shows up.  Thank you!!

    Hi skt102711,
    I would like to inform you that acrobat doesn't support .epub to .pdf format conversion. Please browse this Link for more information : Supported file formats | Acrobat, Reader
    Regards,
    Rahul

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • How to find out, whether any invoice is having header text or not.

    HI all,
    How to find out, whether any invoice is having header text or not. wheich table we have to refer.
    Thanks
    mahaboob

    Hi,
    You need to use FM READ_TEXT.
    First you have to determine what text Object/ID/Language you want to read (you can have N text objects for an invoice header).
    The easiest way to do this is to have an example document with the text you want to read.
    For example in VF03.
    1-Goto->Header->Header Texts.
    2-Click on the text you want to read
    3-Double click on the text (Right side box) This will take you
    4-Goto->Header
    This will give you the data you need to use in the READ_TEXT F.M.

  • I was organizing my photos into albums. then deleting them from my Camera roll. Then I went into MY Photo Stream and started deleting the pics I had moved to albums;Come to find out I deleted all pic from everywhere!!  Would the iCloud still have them sav

    I was organizing my photos into albums. then deleting them from my Camera roll. Then I went into MY Photo Stream and started deleting the pics I had moved to albums;Come to find out I deleted all pic from everywhere!!  Would the iCloud still have them saved

    First of all, you should always save you photos on computer like any other digital camera.
    Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
    Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
    What computer do you have?

  • How is it possible that the black ipad 2 64 gb is sold out in hole Sweden, Hong Kong, Shanghai, Boston and Memphis at the same time!?

    How is it possible that the black ipad 2 64 gb is sold out in hole Sweden, Hong Kong, Shanghai, Boston and Memphis at the same time!?

    Because Apple can't get enought of them made to cover the demand, obviously. The iPad has been extremely popular and would probably be in short supply in any case, but the various disasters that have struck portions of the supply chain can't have made things any easier.
    Regards.

  • How I can change ipad mini mobile number I initially requested and to place the wrong number

    how I can change ipad mini mobile number I initially requested and to place the wrong number

    If you're refering to your uphone number thats set up to be used with imessage on your ipad, then that is associated with your apple id and has to be changed there first.
    My Apple ID
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Then on your ipad, sign out of messages. Go to settings/messages/tap on send and receive/tap on apple id/sign out
    Then sign out of messages on phone and then back in.
    Then sign into messages on ipad again, number should appear
    http://support.apple.com/kb/HT5538

  • IPlanet Calendar Server 5.0 WCAP commands fetchcomponents_by_range,fetchevents_by_id,fetchtodos_by_id returns the event dtstart & dtend in GMT and not in the timezone (tzid) specified in the command

    hi,
    i am vinod from knowledge systems pvt ltd. we are the partners with the iplanet india for customer support.
    problem description :
    m fetchcomponents_by_range,m fetchevents_by_id,m fetchtodos_by_id returns the event dtstart & dtend in GMT and not the timezone (tzid) requested
    i have an development issue with the iplanet calendar server 5.x.if i execute WCAP command storeevents.wcap as follows for storing an event
    http://localhost:portnumber/storeevents.wcap?id=n38tew98wbhhv95s&calid=userA&tzid=America/Indianapolis&rid=0&dtstart=20020419T050000Z&duration=PT1H0M&summary=eventtest&fmt-out=text/xml
    in the calendar server the dtstart and the dtend for this event is as follows
    dtStart = 1019210400 (20020419T100000Z) [19-Apr-02 10:00AM GMT] (isDate = 0)
    dtEnd = 1019214000 (20020419T110000Z) [19-Apr-02 11:00AM GMT] (isDate = 0)
    NOTE : in the WCAP command i had specified the time in America/Indianapolis i,e 0500 hrs behind GMT(-0500) hence the server stores the dtstart & dtend in the GMT which is perfect as explained in the docs.
    Now for retreving the same event i execute the following command
    http://localhost:portnumber/fetchcomponents_by_range.wcap?id=n38tew98wbhhv95s&rid=0&calid=vt&tzid=America/Indianapolis&fmt-out=text/xml
    the result has the event details but the dtstart & dtend are in GMT and not in the America/Indianapolis timezone requested.
    <START>20020419T100000Z</START>
    <END>20020419T110000Z</END>
    NOTE : the Mime type requested in the WCAP is text/xml. the expected dtstart is 20020419T050000Z and dtend is 20020419T060000Z applied to the timezone specified in the tzid parameter(America/Indianapolis)
    issue :
    m fetchcomponents_by_range,m fetchevents_by_id,m fetchtodos_by_id returns the event dtstart & dtend in GMT and not the timezone (tzid) requested
    docs says the following which is not true for retrieving the events.....
    For example, if a command such as storeevents or fetchcomponents_by_range
    specifies a tzid parameter, the parameter value must be a tzid that is defined in the list of 91 time zones. The server will return data in that time zone and all data will have dates applied to that time zone.If the command specifies an unrecognized tzid, the server will return a GMT timezone by default. All data returned on that command will have its dates applied in GMT.
    release notes has the following. i could not understand the point no. 1 could u please suggest me how to retrieve the event with dtstart & dtend values applied to the timezone supplied in the parameter tzid.
    1. The following seven commands now take an additional parameter, tzid:
    m deleteevents_by_id
    m deletetodos_by_id
    m fetchcomponents_by_alarmrange
    m fetchcomponents_by_lastmod
    m fetchcomponents_by_range
    m fetchevents_by_id
    m fetchtodos_by_id
    The value of tzid must be a time zone ID string, such as &#8220;America/Los_Angeles&#8221;. Note that these are not localized. If other ISO 8601 DateTime string parameters, such as rid, dtstart and dtend, do not have a &#8220;Z&#8221; on the end, this parameter determines the time zone to use.
    2. The following two commands, which already have the tzid parameter, have been modified:
    m storeevents
    m storetodos
    The value is no longer a quoted string, but is now a time zone ID string to match the acceptable values for tzid in the seven commands listed above.The default value of the tzid parameter in all commands is the server's default time zone. This is a change for storeevents and storetodos.
    thanks
    vinod

    I have found the solution! I post how I managed in case someone else has the same issue.
    You have to go to "Settings" -> "Settings Editor".
    There, there is a "display" entry.
    When you open the tree, you can see both of your displays (in my case, LVDS1 and VGA1).
    Under VGA1 (the "extra" monitor), there is a "Position" entry. There, you need to set the "X" variable to the last pixel of the other display resolution.
    E.g.: if you principal display is a "1366x768", then the "X" value will be 1366.
    You can also play on the "Y" if your screens are not horizontally aligned, but 0 should be fine.
    I hope this helps :-)

  • When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-tunes to play a single album and then stop, without continuing on through my entire library. It's a problem that doesn't occur when I'm listening through my i-pod.

    When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-Tunes to play a single album and then stop, without continuing on through my entire library? It's a problem that doesn't occur when listening on my i-pod.

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

Maybe you are looking for

  • How do I save a photo from a text to camera roll

    How do I save a photo from a text message to the camera roll?

  • Help!Can not start the database by sqlplus!!!ORA-12514:

    OS:window xp oracle 10g sqlplus /nolog SQL*Plus: Release 10.1.0.2.0 - Production on 星期六 5月 20 15:08:26 2006 Copyright (c) 1982, 2004, Oracle. All rights reserved. SQL> connect sys/demo@demo as sysdba ERROR: ORA-12514: TNS:listener does not currently

  • Flash gallery related question...

    Hi, I have downloaded the free Flash Gallery/Slide Show which works fine using index.html file. But I would like to add it to my Flash_Website instead of using as seperate html file. How can I add it to my Flash_Website so that the slide show can be

  • How do I shrink a note to a small size

    I have been using notes in Mt Lion and accidentally made each of them small so they sit open in the lower right corner of my desktop.  I need to know how to do that when I need to since I can't make it happen again, I just get a full screen note.  Th

  • Problems with breadcrumbs in TP4 be bounded and unbounded Task-Flows

    Project scope   JDev 11g TP4   jspx - template   jsff - breadcrumbs   jspx - forms (using the template)   bound and unbound task-flow .) all forms (and template) are in the unbound task-flow (adfc-confi.xml) .) one form can be called with an paramete