Does the inner while loop have to be stopped before the outer loop will run?

too many while loops cause my controls to be very sluggish.

Hello,
The outermost while loop executes everything inside it over and over. Therefore, if you have a while loop inside another while loop, the first iteration of the outer while loop will execute the inner loop, and then the inner while loop will execute over and over again until it is stopped. At this time the outer while loop will perform another iteration, and the process will repeat until the outer loop is stopped. Generally, embedding while loops within while loops is not recommended.
Please visit the below sites for more information on program efficiency.
http://zone.ni.com/devzone/conceptd.nsf/webmain/b6605678ad7a09a8862568eb007a6d7a?OpenDocument
http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/1b36040af87887078625
6cbc006fe314?OpenDocument
I hope this helps!
--Liz F

Similar Messages

  • HT2486 birthday are not saving in my contacts? What am I doing wrong.  I always have put in birthday before with no problems

    Birthday are not saving in some of my contacts? What am I doing wrong.  I always have put in birthday before with no problems.  Some contacts it works and others do not?  help me.

    Arnis and Jeff,
    Thank you both very much for your assistance.  I was able to figure out why the Adobe Application Manager kept failing on installing the patches.  Idiot me didn't unzip them first.  Once I unzipped the patch files, the installer worked fine.  Both patches are now successfully installed; my FM version is now 12.0.2..
    To answer some of your questions:
    Yes, I have administrator privileges on my PC.
    Yes, I had all of the files in the book opened when I generated and/or updated the LOR file.  So that was not the issue.
    With the patches installed, I opened a book and all of its files.  I updated the LOR and all works fine – it gives me all of the Imported Graphic references. So there must have been an issue with that release of FM12 (12.0.0.329), which was fixed with the patches.
    Again, thank you both for your help!
    Best regards,
    Beverly

  • If your doing the out-of -warranty can you do it online?

    if your doing the out of warranty can you do the proccess online

    Start here:
    https://getsupport.apple.com/Issues.action
    The options for contacting Apple Support will vary depending on your country. Or you can make an appointment at an Apple Store, if you have one in your area, and get the iPhone replaced on the spot.
    Regards.

  • Does the Apps store will come in the 2.1 update for the iPod Touch 1G?

    Does the Apps store will come in the 2.1 update for the iPod Touch 1G?
    Does my ipod touch 1G can play games like the ipod touch 2G??
    anyone can help?

    since i dont have credit card, i paid $10 just for an update with nothing to do.
    You need a Credit Card or an iTunes gift card to create an iTunes account.
    Since you purchased the 2.0 upgrade, you already have an iTunes account.
    The 2.0 upgrade comes with the Apps store you can use on the iPod touch. Also, you can use the App store in iTunes.
    With both of these you can download free apps and you do not need a credit card since you already have an iTunes account.
    If you wish to make an actual purchase (pay money) for an app, you will need a CC or gift card balance on you iTunes account.
    Free apps/games thru the App store require an iTunes account (which you already have) and do not require that you have a CC or gift card balance.

  • Hey i cant get into creative cloud because it keeps asking me to verify and email that does not exist nor i have acess to. i cant find out how to sign out and i tried deleting it and re downloading it!

    hey i cant get into creative cloud because it keeps asking me to verify and email that does not exist nor i have acess to. i cant find out how to sign out and i tried deleting it and re downloading it!

    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -wrong email https://forums.adobe.com/thread/1446019

  • I am debating between the 13in 2.9ghz mac book pro or the 13in 2.5 ghz mac book pro with all the same specs bbut for me i am trying to see which one for the money is better becuase the 2.5 will run me 100-200 dollars less than the other

    I am debating between the 13in 2.9ghz mac book pro or the 13in 2.5 ghz mac book pro with all the same specs bbut for me i am trying to see which one for the money is better becuase the 2.5 will run me 100-200 dollars less than the other

    Only you can make that determination. All things being equal the 2.5 GHz model is slower.

  • I currently have one input but need to run two loops. I cannot get the two while loops to run so that they both pick up the same data, they are both picking up alternate samples. How can I get them to both pick up all of the values?

    The system I am trying to create calculates a number of values based on an input. I need to make the calculations and display the values for an entire production run and for each hour. The only way I know to do this is to create two while loops, one looking at all the values that are received and one looking only at the values for hour long periods.
    Any help would be great.
    Thanks
    RossH

    Why do you think that you have to have two loops to accomplish this task? Why not use one loop and accumulate the same data into two data sets based on the two sets of criteria?

  • HT3964 I have a Macbook 2.1, running 10.5 8. with a new battery. It won't start with the battery, but after you start it with the charger, disconnect the charger,it will run for over an hour on the battery,all the while it shows 0% charge! tried reset, no

    I have a Macbook 2.1 that runs 10.5.8.   I cannot get it to start on battery power. It will run for over an hour on the battery, if you start it with the charger, but even then it shows a 0% charge! I've tried pulling the battery out while it's booted, pulling battery out and discharging the system by holding the power switch, nothing seems to make it work. any ideas? It has all the updates Apple offers, too.

    Try resetting the SMC
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.

  • How do I make one while loop that runs 1 piece of data at a time?

    I have a question about a while loop.  Currently, I have 4 or 5 dynamic data lines that I would like to run through a while loop that will tell me if the data is within a certain range or not.  However, the ranges are different for each piece of data, and I dont know how to do each one separately.  Do I have to make 5 different while loops? Thanks!

    pg22aw wrote:
    I have a question about a while loop.  Currently, I have 4 or 5 dynamic data lines that I would like to run through a while loop that will tell me if the data is within a certain range or not.  However, the ranges are different for each piece of data, and I dont know how to do each one separately.  Do I have to make 5 different while loops? Thanks!
    Do you want to compare the value with a defined value and also the ranges for the 5 data is different?. What are you doing in the while loop. If the data is in an array of dynamic data you can seperate the amplitude value and check the whole array of value with the ranges that is also build same as the data theh you will get the output as a boolean array.
    The best solution is the one you find it by yourself

  • Over the next few weeks I will travelling in Mexico and driving in Mexico, how well does the ipad Mpa program run down there and does the device incur any additional charges ?

    Over the next few weeks we will be travelling in Mexico and hoefully using the iPad Maps for driving instructions etc. Does anyone have any experience with this feature? What can of challenges will we face?

    How to turn your computer into a Virtual (Personal)Router.
    Our hotel the Grand Oasis Cancun provided internet for only 36 hours and you could only use it on one device which comes to my next option as using your Laptop as a Personal Router to broadcast WiFi to any devices near your computer. Our room was on the Second level of the Pyramid at Grand Oasis and I was able to access it while at the VIP lounge below our room. Before our supposedly free internet service ended.
    I attempted using the hotel next door since I was getting a good signal from the Omni Hotel. They offered complimentary 24hr internet access using your browser as a way to track your use. Once you find the signal of the Omni it will open your browser I used Google Chrome, after it opens you go threw a few simple steps and your ready.
    I learned that after the 24 hours are up all you have to do is disconnect from their network, just run Ccleaner(free program) then find the Signal of the hotel and you will be given another 24 hours. What Ccleaner(<--download there) does is clears anything attached to your browser ie cookies temp files etc. it cleans your browser history giving you a way of not paying for the hotel fee of internet and giving you free WiFi. this is only if you are next to the Omni hotel :).
    What you need to download to turn your computer into a hotspot need to say is this little easy to use program Virtual Router. Once it has download test at your home to make sure it works with you devices. This will work with Tablets, Phones and other computers that cant find the Omni WiFi signal. Your welcome. To use it, is simple. Open program>make a password>select WiFi and start VR.

  • Does the ati x800 xt run silently?

    My current graphics card is quite loud (nvidia 7800 GT) and I am wondering how noisy the ati x800 xt is in comparison. I read another post that said he would only hear the x800 xt when the machine booted up but not after that. His comment is the last comment at this forum:
    http://discussions.apple.com/thread.jspa?threadID=273349&tstart=1125
    Could that really be true? I heard someone else say that all fan based cards are loud. I would just like to be able to find a descent performing card to run Adobe CS4 well without tons of noise going on. Is there something that does that? Whenever I use one of the new Mac Pros at the Apple store they seem to run really quietly yet they use cards with fans on them, I wonder how that can be? I mean they are virtually silent.
    Any help you can give would be greatly appreciated. It is really frustrating with the noise interring with my being able to think while working.
    Thanks

    The slot is AGP on a June 2004 Dual 2Ghz, sorry about that. I have been doing dozens of posts on another site and forgot to give my specs again when starting this post. I have had a huge confusing issue with this card. An ebay mac graphics card seller called this card an AGP card but then then someone pointed out that it was only for PCI-e. I went to the site and found that the was true.
    Another poster then showed me somewhere else on the nVidia site that claimed it could run both. Then someone was saying that they did make a card that did both AGP and PCI-e but was only made in europe. It's all very confusing if you want to read about what I have been going though you can go to this forum:
    http://discussions.apple.com/thread.jspa?threadID=1777222&start=15&tstart=0
    I saw some articles on the web earlier about using larger heat sinks and big fans. I asked about this in the forum but no could give me in sight on it or tell me if they would even work on the mac. How did your 9800 sound before and after the silencer? I really want to go back to the silence of my nVidia 5200 I loved how there used to be complete silence.
    The thing that bothers me even more than how loud it gets is how there is constant noise it never dies down like with the G5s fans. It is so annoying to be, say, watching a DVD and have the fan be running at full speed the entire time.
    I have a couple questions about the silencer.
    1. Will it let me keep the the card in my top PCI slot? The two PCI slots above the graphics card are empty and I can sacrifice those slots but I would like to keep the top card if I can.
    2. Is it hard to install ie require a lot of technical expertise?
    3. Would it be easy to make a mistake and mess something up?
    I realized that the 9600 is a slower card but having the machine quiet is a lot more important to me than having it super fast. I am also not doing super demanding stuff. I generally spend my day working in Creative Suite 4 Design Premium. So it's not like I am doing the latest games or 3D animation or high definition video or anything like that.

  • Parallel while loops not running in parallel

    I am collecting data from a PCI 4351 board and a 6070E board. These are connected to a TC 2190 and a BNC 2090. I do not need exact sychronization, however I do need them to collect data at different rates. Currently I am using two while loops to perform this, but they run sequentially in stead of simultaneously, that is, the second while loop waits for the first one to finish before running. Is there any way I can get these to run both at the same time instead of one after the other?
    Attachments:
    Parallel Whiles.vi ‏89 KB

    Any way you do it, you're going to have to sequentially read from the data buffer, and the implementation you have now may be the fastest, if not the most accurate.  I would recommend that you either put a wait statement in each loop if the two data reads need different timing, or just wire the error cluster from one's output to the other's input and have them both in the same loop.  At least that way you are always certain which is executing before the other.  Also, in the dataflow (wired together) example, I would still recommend a wait statement, just to be on the safe side.  Even if you have a wait of 10 ms it may save you from spinning your loop pointlessly.
    =============
    XP SP2, LV 8.2
    CLAD

  • I'm a dancer and dj and need to know, how do I play a playlist for a gig and have each song stop before the next one starts?

    HI,
    Please tell me how I can use my ipod touch, using the selected playlist and have each song stop after it ends before going to the next?
    I'm a dancer, so it's hard to dj and dance at the same time.  I don't want to hit pause!
    Thank You,
    Natasha

    Many restrictions are intended to defend against kids who are trying to bypass controls and break into the System to run their own software from CDs or external drives. If you don't need those restrictions, you can turn them off and allow external drives to be mounted and show up.
    Parental Controls is definitely worth looking into. If it does not offer enough controls, There are additional restrictions that can be applied.
    These all come from the world of Mac OS X Server as it is used in Schools, and are applied in a completely non-intuitive way. You use the WorkGroup Manager tool from the Server Administration package (which normally restricts features of Users on a Network) to apply additional restrictions a local User.

  • How does the Out of Warranty process work?

    My iPad mini decided it wanted to take a bath the other day and now it's done for.  Left it in a bag of rice for a week and it will not turn on.  I was doing some research and saw that it can be replaced under the Out of Warranty fee for $219 but didn't see too many details on how to go about doing that.  Can I take it into a store or do I have to mail it somewhere, and if so, where? 

    The easiest is if you live near a store. Call and make an appointment. take in your device and talk to them. As I understand it, you pay the fee and walk out with a refurbished replacement.
    http://www.apple.com/retail/geniusbar/
    When you talk to the store you can verify the procedure with them.

  • Does the Developer Workplace also run on 64bit systems?

    I know that this is not a supported platform, it seems that the developer studio is inly supported on XP 32bit. But I like to make full use of my 4GB RAM and therefore install the whole NW CE 7.1 environment including JEE server and development studio on a 64bit system (Linux or Windows Server 2003). Does this work or won't it even install?
    Did anyone try this before? Will there be a new version in the near future that is supported to run on 64bit systems?

    Hi Srivastava,
    thanks for your reply. At least there is some hope now that it will run on 64 bit but from the various OSS notes I still do not get a clear picture. The notes you explicitly mentioned seem to be rather old. Now I found note 953763, which says:
    Supported Operating Systems for Development Systems
    If you want to install a SAP NetWeaver CE development system, the following operating systems are supported:
    Microsoft Windows XP Professional SP2 (or higher) (32-bit)
    Microsoft Windows 2003 Server SP1 (or higher) (64-bit)
    From that note I guess that also the installation of NetWeaver Developer Studio will work on Windows Server 2003 64-bit.
    Is anyone using this particular configuration?

Maybe you are looking for

  • HELP! I can no longer see the Podcast icon on my iPod touch.

    The Podcast icon disappeared from the screen of my iPod touch.  I reset the iPod and podcasts still do not appear.

  • Migration to iPhoto 6 AND Intel Mac Pro at the same time

    I am about to move my life to a new Mac Pro. Included in the move is an iPhoto 5 Library with 19 000 images. The iPhoto Library is backed up, of course, and there are multiple redundant copies of all the images on remote hard drives. The question is,

  • Error using dbms_stats.drop_extended_stats

    Hi! I have the following problem: I want to drop extended stats and i get the following error: SQL> begin 2 dbms_stats.drop_extended_stats ( 3 ownname => 'ORAP' 4 ,tabname => 'TDORGEH' 5 ,extension => '(O2_KOE||''*'')' 6 ); 7 end; 8 / begin FEHLER in

  • Compensation Approval runtime error

    Hi We have implemented MSS in EP. While running the ivew Compensation Approval (ECM), we are getting the portal run time error in the 'Adjust to Minimum' tab. Is this any configuration problem? The following is the error message we are getting. Any h

  • Using Mail & Exchange & Tasks

    I just converted from PC & Outlook to Mac & Mail. My mailaccount is an Exchange-account and I'm just to converting my mails to tasks for my mailbox-management. I can't seem to do that in Mail?!! When I open a mail and doubleclick, the menu with 'new