How to stop execution in while loop without stopping execution of other loops in the same vi

HI
I am quite a novice in Labview.
I have a problem in my project. I used a while loop inside my vi to build an array of ten values along with other loops. Then I used a stop button to stop manually the while loop. But it seems like the loop doesn't stop in the middle of the array building and so other loops in the vi doesn't work until the while loop finishes building the array and as soon as while loop execution is over, the complete vi stops. But all that I wanted was to build the array using the shift register along with the control to stop building array anytime. And not to stop execution of other structures when the while loop finishes.
Can anyone help me?
Rahul

Hi Rahul,
Modified ur Vi to work with single button.
But the subtract case is not in any loop.
So, once both the loops stop, the subtract case will execute only once. Depending on state of subtaract boolean at that time, corresponding case will be executed and the Vi will stop.
so think of a logic where u can put this also in a new loop.
Or you can also incorporate it in one of the two loops and pass the other loop's data to it.
Let us know how you will proceed in this regard
I am posting your VI as well a VI with my modifications VI in Labview 7.0 so that Thomas can give his suggestions too
Plus, always keep a time delay in your while loops.
Oh sorry, the "arrayinouttestnewfinal.vi" is the modified vi
Regards
Dev
Message Edited by devchander on 01-10-2006 06:15 AM
Message Edited by devchander on 01-10-2006 06:19 AM
Attachments:
arrayinouttestnewfinalnew4.vi ‏59 KB
arrayinouttestnewfinal.vi ‏63 KB

Similar Messages

  • Resizing/stretching without effecting angles of other points in the same path?

    Hi all,
    I am wanting to increase the size of say a round edged box that I just created with the round edge rectangle tool.
    Now when I create the path initially the rounded edges are at perfect 90degree cuts. But say I wanted to increase the size of the path say by doubling its height, how I do that and still maintain the perfect 90degree corners I started with?
    Any help would be great

    The only way I know to do this is to either make the rectangle over or to use the Effect>Convert To Shape>Round Rectangle

  • For iTunes Match, how come some songs "match" on an album and other songs on the same album "upload" without matching?

    For iTunes Match, how come some songs "match" on an album and other songs on the same album "upload" without matching?  All songs are available on iTunes.  I don't get it!  Any way to manually match songs that iTunes apparently can't match?  I have hundreds in this unmatched state.

    gsl wrote:
    Shazam has NO problem determining what these songs are. Maybe Apple needs to consider licensing their technology as it seems MUCH more accurate than what they are doing.
    You aren't comparing like with like.
    The main task that Shazam has is to identify the name or a track and the artist. I believe that it suggests the album as well, but if it gets that wrong then it doesn't really matter too much.
    With iTunes Match, getting the album (i.e. identifying which version it is) is much more important. If it gets that wrong then it breaks up the flow of an album. This makes the task that match has very much harder.
    In fact, there is a strong argument to say that currently the problem iTunes has is that it is matching too many songs, resulting in matches from different albums.
    I'm sure that match is not struggling to identify whether it has a song or not, but whether it has the correct version of a song. When you introduce different masterings into the process then, depending on the thresholds set, it is probably correct in concluding that it hasn't got a particular version, even if you think it has.
    The solution would appear to me to be a tweaking of the matching thresholds along with the ability to force an upload, but we just don't know what restrictions they have (remember that if Shazam gets it wrong the it doesn't present you with a copy of a new track that you didn't have previously). It is almost certainly not just a case of improving their technology.

  • I bought iPhone 4 for my wife, didn't create a separate apple ID account for her at that time. How can I now create a new one for her, sync her phone to the same PC that I sync my iPhone with without loosing all of her data, contacts, etc. Please help!

    I bought iPhone 4 for my wife, didn't create a separate apple ID account for her at that time. How can I now create a new one for her, sync her phone to the same PC that I sync my iPhone with without loosing all of her data, contacts, etc. Please help!

    I bought iPhone 4 for my wife, didn't create a separate apple ID account for her at that time. How can I now create a new one for her, sync her phone to the same PC that I sync my iPhone with without loosing all of her data, contacts, etc. Please help!

  • How do i get itunes or any other program for ipod to play one song and then stop instead of contiuing playing. I need it to be in the same playlist and ready to play the next song when I press play?

    how do i get itunes or any other program for ipod to play one song and then stop instead of contiuing playing. I need it to be in the same playlist and ready to play the next song when I press play?

    Good luck.  I tried to do this to cue sound effects for a theater, and never found anything.  iTunes will definitely *not* do this, nor was I able to find any player that would play one song at a time in a single playlist. 
    In my case, I ended up using AutoHotkey to tie individual tracks to the keys on an external keypad. This was an excellent solution for my problem, but I don't think AHK runs on Macs.
    One workaround is to make a folder, and fill it with *shortcuts* to the songs you want (ie, the actual files).  You can change the names to start with numbers to get them in the right order.  Then if you double-click on one it will play just that song.  You'll still have to double-click on each song.
    Might be a good time to learn AppleScript   It would  also be pretty easy to write a Java app to do this.

  • HT201272 I downloaded a TV show directly to my IPAD, how can I download that TV show to other devices on the same account without paying twice?

    Title says it all...
    I downloaded a TV show directly to my IPAD, how can I download that TV show to other devices on the same account without paying twice?

    Whether you can re-download them for free depends upon what country that you are in - tv shows can't be re-downloaded in all countries. If they show in the Purchased tab in the iTunes app on your other devices, or the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes then you can re-download them. Otherwise you can copy them from your iPad to your computer's iTunes via File > Transfer Purchases and then sync them to your other devices.

  • I am able to load some pages from a particular website while other pages from the same site give the error "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

    I am able to access some directories on the website without any problems while I get the "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." error for other directories of the same site.
    == URL of affected sites ==
    http://www.safelistgrande.com

    Suddenly from yesterday I am getting this error while trying to opening gmail

  • How do i share my itunes library with other users on the same mac

    I'm trying to share my itunes library with other users on the same mac.  I have tried moving my library to a public folder but when the other user logs in they can't see it in the public folder?

    Presuming you moved the entire iTunes folder to the shared folder the other users need to start their iTunes while holding down the option/alt key and select the iTunes Library.itl file in the shared folder.  Only once should be necessary.  Note that any changes anybody makes will be seen by everybody, so you have to trust each other a lot.
    If all you moved are media files each user will have to add those files to their iTunes library. 
    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189 Chris CA's instructions on sharing one iTunes music library between multiple user accounts - https://discussions.apple.com/message/8974074 - Multiple users using a single library file - similar post at: https://discussions.apple.com/thread/3753008 Suggestion by Turingtest for multiple users and one library - http://discussions.apple.com/message/9117622 - use smart playlists and tags to isolate groupings.

  • How do I sink calendars with other users on the same computer

    How do I sink calender info with other users on the same computer?

    Hi there,
    First..I am new to this forum and find the information provided to be very helpful... I had followed the iTunes link above to enable sharing between users in the same computer but it appears to be working on partially. What setup am I looking for ?
    1. We have an iMac (Snow Leopard) with 1 Adult ID and 2 children IDs
    2. The iTunes music folder is stored in a Shared public folder where the Adult ID has read/write access and the 2 kids with read-only access (so that they don't accidently delete songs...:-)
    3. The iTunes on the Adult ID has the access to purchase songs. The kids have no acccess to buy songs
    4. All songs, podcasts to be visible to all users
    What has happened ?
    1. I am able to make the base of songs visible to all users
    2. However when a song is purchased by the adult account ..it is not visible to the kids account ..:-{
    3. The same thing occurs when a song is imported from a CD
    4. When a new playlist is created by the Adult account it is not visible to the kids account ..:-(
    How can I make changes made by the Adult be made visible to the kids without having the need to constant add music files or libraries for each kid..?
    Thanks in advance..

  • HT204406 iTunes Match (on Mac) keeps "gathering information" on my library, in a loop, and never makes it Step 2. Apparently others are experiencing the same...

    iTunes Match keeps "gathering information" on my library, in a loop, without ever making to step 2.
    I know others have experienced the same issue, but the only advice given was for PC users. Am on Mac.
    Admittedly, my library is huge (over 10,000 songs), but still...
    Any advice would be greatly appreciated!

    Same issue here with a MacBook pro recently upgraded to Mountain Lion.  I hadn't tried iTunes Match prior to the upgrade so can't say whether or not it worked previously.
    Getting quite frustrated!

  • Whenever I open a file in Lion, other files of the same sort that I opened previously automatically open up. For example, if I open a .jpg file, numerous other .jpg files that I opened previously in the day open up. How do I prevent this from happening?

    Whenever I open a file in Lion, other files of the same sort that I opened previously automatically open up. For example, if I open a .jpg file, numerous other .jpg files that I opened previously in the day open up. How do I close these files to prevent them from showing up again, like in previous versions?

    Dealing With The Resume Feature of Lion
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
    chflags nohidden ~/Library
    Press RETURN. Quit the Terminal application.
    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

  • While playing my albums in iTunes it has just started playing the first song but will not progress through the other songs on the album. Did I accidentally change setting or are other people having the same trouble? thanks

    While playing my albums in iTunes it has just started playing the first song but will not progress through the other songs on the album. Did I accidentally change setting or are other people having the same trouble? thanks

    Hi there Sing Me A Song,
    You may have changed the Up Next list in iTunes. Take a look at the article below for more information on the Up Next lists and how to edit it.
    iTunes 12 for Mac: Play songs
    -Griff W. 

  • I do not see where to enter IP addresses in the Open VPN setup. Also, how can I set it up so that I can choose different servers in the same way as I can currently choose them with my VPN app but for PPTP?

    I think I have it working on my iPhone 5. But, I do not see how I can control the exit point that I would like for the VPN. Are all the exit points shown in the VPN setting now going to work with Open VPN, or do they remain PPTP? If I am reading correctly, they look like they remain PPTP. If I cannot control the exit point for open VPN, which exit point is the default in the profile you provided me?I note that Open VPN Connect does not work with any of the new 64 bit devices like the iPhone 5S, the iPad Air, and the new iPad MIni. Is there any chance that you guys will come up with an update for your app so that open VPN can be made to work on all iOS devices? That would be nice, particularly if the Open VPN Connect app does not give me a choice of exit points.Thanks,
    I do not see where to enter IP addresses in the Open VPN setup. Also, how can I set it up so that I can choose different servers in the same way as I can currently choose them with my VPN app but for PPTP?
    Just a quick note to tell you that Open VPN has updated their app so that it is compatible with 64 bit ARM devices like the iPhone 5S, the iPad Air, and the iPad Mini Retina.That does not resolve the problem of how to easily choose among the various possibilities for the exit server. We need to find an easy way to choose.

    Thank you for trying the new Firefox. I'm sorry that you’re unhappy with the new design.
    I understand your frustration and surprise at the removal of these features but I can't undo these changes. I'm just a support volunteer and I do not work for Mozilla. But you can send any feedback about these changes to http://input.mozilla.org/feedback. Firefox developers collect data submitted through there then present it at the weekly Firefox meeting
    I recommend you try to adjust to 29 and see if you can't make it work for you before you downgrade to a less secure and soon outdated version of Firefox.
    Here are a few suggestions for restoring the old design. I hope you’ll find one that works for you:
    *Use the [https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/ Classic Theme Restorer] to bring back the old design. Learn more here: [[How to make the new Firefox look like the old Firefox]]
    *Use the [https://addons.mozilla.org/en-US/firefox/addon/the-addon-bar/ Add-on Bar Restored] to bring back the add-on bar. Learn more here: [[What happened to the Add-on Bar?]]

  • I've bought a movie but iTunes crashes while trying to download it. Do you experience the same today?

    I've bought a movie but iTunes crashes while trying to download it. Do you experience the same today?

    Can you not sync your iPod with iTunes? That should get the movie onto your computer. Now sync your iPad and transfer the movie?

  • How can my wife and I be friends in game center if we use the same Itunes account?

    How can my wife and I be friends in game center if we use the same Itunes account?

    You can set up multiple accounts in Game Centre, sign out and create new account. You just need a different email address from any existing Apple ID's and a new password. You can still use the old account for purchases.

  • How do I transfer music from my itunes library  to my wife's on the same computer?

    How do I transfer music from my itunes library to my wife's on the same computer? I am trying to put the music that is on my phone on her phone.

    Has she transferred iTunes content to her iPhone from an iTunes library on another computer or from a different iTunes library on the same computer?
    If not, you transfer music to her iPhone from your iTunes library in the same way the music was transferred to your iPhone. If she has any iTunes content on her iPhone that was transferred from a different iTunes library, all iTunes content on her iPhone will be erased first.

Maybe you are looking for

  • CASE statement (or similar functionality) in interactive report?

    Hello, I've written a report based on an anonymous block of PL/SQL that allows me to show a different colored icon on the report based on the value of one of the columns - show green if value is less than x, show yellow if value is between x and y, a

  • Need BAPI/RFC for Updating Category field of CRM_DNO_MONITOR  from SAP R/3.

    Hi SAP GURUS!! I need to have a new field category in "Create support message"  of the HELP menu in SAP server. This field values needs tobe updated with that of Category in Solution Manager ( CRM_DNO_MONITOR) .We have found a BADI (SBCOS001 ) where

  • How to import a web service into labview and make the assembly strong named signed?

    I have used the web services tool to import my .net project files. I am then putting them into clearcase. In order for my dll's to work on a network im getting the error that they need to strong named signed. Is there anyway of strong name signing th

  • Trouble creating a circular buffer

    I am using a DAQ-6024E multifunction IO card with LabVIEW 6.1. I am trying to play out encoded signals that are in a database. These signals are encoded in binary and decoded by a previous portion of the VI. This decoded data is then normalized at th

  • ITunes glitch?

    I downloaded a new album and the album artwork doesn't match the one on my phone. Its showing up as a different artist. Is this a glitch? Or any way I can get this fixed? I downloaded the new iTunes 11.1.3 and I turned off my phone to turn it on. Not