Why use a wait timer when you can "wait for front panel activity"?

Why does everyone:
1) Wire a stop button to the while loop conditional terminal and add a wait for 100 ms (or so) timer to the loop.
When they could:
2) Wire the stop button to the while loop conditional terminal AND to "Wait for front panel activity" VI as described in the VI's help file?
Thanks!
Adam

That's just a matter of habit. In previous LV versions, the wait for front panel activity was not available.
And of course, now you can use the Event structure, that offers better possibilities...Message Edité par chilly charly le 06-25-2006 04:11 AM
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        

Similar Messages

  • Time display on x-axis for front panel instead of data points

    What do I need to change or add in my block diagram so that on the waveform graph the time will be on the x-axis instead of the data points. I am running this VI on a pda for some testing and I would rather get the time on the horizontal axis. Im also using an NI USB-6008, windows xp and Labview 8.2
                                                                                                                                                  Thanks
    Attachments:
    blockdiagram.JPG ‏158 KB
    frontpanel.JPG ‏94 KB

    And since you are sending it an array of doubles rather than an array of waveforms, there is no timin information associated with it.  It will assume 1 sample per second.  If your acquisition is faster than that, you will need to set the dT of the graph or the scaling multiplier factor of the X scale of that graph.
    (PS, it is always a good programming practice to show the labels for all the terminals on your block diagram and assign the terminal a name.)
    Message Edited by Ravens Fan on 09-15-2009 09:28 PM

  • I recently upgraded to 10.6.7 and Safari 5.05. Safari now has a long load time when you initially boot it up and when selecting a new tab. Other than that it works fine. What can I do ?

    I recently upgraded to 10.6.7 and Safari 5.05. Safari now has a long load time when you initially boot it up and when selecting a new tab. Other than that it works fine. What can I do ?

    Check Safari / Preferences - Extensions. If you have any installed, turn that off, relaunch Safari.
    If it's not Extensions, check for third party Safari add ons.
    http://support.apple.com/kb/TS3230?viewlocale=en_US

  • When you can use Airplay without the need to connect to a wireless router?

    My question / request is, when you can use Airplay without the need to connect to a wireless router? Able to connect your iphone / ipod touch / ipad to your Apple TV directly without a wifi router, something like a "Airplay Direct"

    This is not supported.  Speculation about upcoming Apple products or features is prohibited by the Terms of Use of this forum.
    Feedback to Apple goes here:  http://www.apple.com/feedback

  • HT4914 can you download songs from itunes match from the cloud to your iPhone ie for times when you dont have internet connection

    can you download songs from itunes match from the cloud to your iPhone ie for times when you dont have internet connection?

    Unless you have an Internet connection you cannot access iCloud. You can download your music from iCloud to store permanently on your iPhone, but only when you have an Internet connection to do so.

  • Why does this site have online chat when you can never actually chat - always "not available"?  I was trying to get a simple question answered without calling and being on hold for 10 minutes?

    Why does this site have online chat when you can never actually chat - always "not available"?  I was trying to get a simple question answered without calling and being on hold for 10 minutes?

        Hello flabucki,
    Help is just a post away for you my friend! I can help with your questions right here. May I ask what question do you have? Both myself and the community would love to assist in any way that we can.
    Thank you…
    ArnettH_VZW
    Follow us on Twitter @VZWSupport

  • What do you do when you can receive a call, but no one can hear you?

    What do you do when you can receive a call, but no one can hear you?

    From a Kappy  post
    The Three Best Alternatives for Security Questions and Rescue Mail
       1. Use Apple's Express Lane.
    Go to https://expresslane.apple.com ; click 'See all products and services' at the
    bottom of the page. In the next page click 'More Products and Services, then
    'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
    ID security questions' and click 'Continue'. Please be patient waiting for the return
    phone call. It will come in time depending on how heavily the servers are being hit.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Do you still need EJB when you can do it all with JSF/JSC?

    I think EJBs make J2EE unnecessarily complex for 80% of small to mid or even some large scale applications. When you can separate the logic and view using JSF and Servlets, and still do transactions (using JSC DataProviders), why do you still need EJBs? I have heard nightmares with EJBs deployment and how its complex to move them over from test to production servers.
    Are EJBs getting obsolete and not worth learning? Afterall, in the Microsoft world, there is nothing like EJB and all they got is ASP.NET (similar to JSF) -- along with its associated data classes and .NEt framework. I am sure they also promote separating logic from presentation.
    I think JSF is the best thing Java world has got to compete with Microsoft on developer productivity for small to medium size applications.
    Message was edited by:
    Sabir

    J2EE EJB's are far from being a holy grial capable of solving any situation. They are complex, difficult to learn and code, but we need to be fair and tell the whole story.
    EJB's are part of the J2EE technology and offer infrastructure needed in complex applications. I.E., you mention
    "When you can separate the logic and view using JSF and Servlets, and still do transactions (using JSC DataProviders)"
    but these are only database level transactions. The J2EE app servers can handle global (and distributed) transactions involving different operations over different databases and transactions ruled by non-database software. Just imagine the complexity of handling a "rollback" of this kind. Put that in .NET pipe and try to smoke it.
    J2EE EJB Entity Beans were the black sheep of the family. They were oriented to easily handle fine operations (i.e. update a specific record of information) but on the other hand present a poor performance in operations over large sets of data. You can do some optimizations but..... Now the story is a bit different with JavaEE 5 and the Java Persistence API -inspired on Hibernate-.
    The bottom line is (as you mention in your post): J2EE/JavaEE are not needed by most of small or mid sized apps. However, I would strongly encourage you to have a look at the JavaEE 5 technology. The fact that portions of the JavaEE technology do not have a counterpart in .NET does not mean that they are not worth to (at least) have a look at them.
    Best regards
    Antonio

  • When you can have the download for adobe flash on ipad

    when you can have the download for adobe flash on ipad

    I was astounded, to say the least, that something as basic as playing a Utube video doesn't work on the iPad out of the box. I tried it on my iPad3 and it didn't even give me an error message. The iPad just didn't do anything.
    Sure it does with a YouTube app included.
    MS is coming out with what I'm hearing is a real winner in the Fall. I'll wait and see.
    You heard this where?
    http://macdailynews.com/2012/06/19/zdnet-sr-tech-editor-perlow-microsofts-surfac e-has-catastrophe-written-all-over-it/
    http://macdailynews.com/2012/06/08/zdnets-kingsley-hughes-microsofts-windows-8-i s-an-awful-horrible-painful-design-disaster/
    http://macdailynews.com/2012/06/22/why-i-love-microsofts-vaporware-surface-table t/
    http://macdailynews.com/2012/06/22/microsofts-surface-tablet-said-to-be-wi-fi-on ly-at-launch-no-4g-no-3g-no-2g-not-even-1g/
    http://macdailynews.com/2012/06/19/fox-news-copier-microsoft-is-doomed-to-fail-w ith-surface-tablet/
    http://macdailynews.com/2012/06/03/dvorak-windows-8-an-unmitigated-disaster-unus able-and-annoying-it-makes-your-teeth-itch/

  • How many times do you get a new iPhone because of manufacturing  defects, before you can ask for an newer model?

    How many times do you get a new iPhone because of manufacturing  defects, before you can ask for an newer model?

    yofromoslo wrote:
    How many times do you get a new iPhone because of manufacturing  defects, before you can ask for an newer model?
    You don't.  Apple's warranty provides for replacing your device with an identical model (same model, carrier, capacity & color).
    And you aren't getting a new iPhone.  You'll be getting a remanufactured iPhone, which has gone through a more thorough inspection than any new iPhone ever does.
    If you want a newer model, then trade-in or privately sell your current device and use the proceeds towards purchasing another device.

  • Is there a way to delete an app when you can't see the app's icon?

    Is there a way to delete an app when you can't see the app's icon? I have so many apps that they don't all show up on the existing screens. I know it can be done by connecting to a computer and using iTunes, but I'm on the road away from my Mac.

    I tried that and instead of showing me the inaccessible screens, it just shortens the number of available screens. Then if I reset the home screen in preferences it removes the folders I created and I'm back to square one.

  • How to decrypt data when you can't get the private key in Windows?

    I'm very confuse. My english is poor, but I try to say my question clearly.
    When browser connects to a https website which needs client certificate to authenticate the identity, the browser will send client certificate to web server.
    Then the web server will use the certificate to encrypt some data and send it to browser.
    Then broswer should have private key to decrypt that.
    But as I know, if I install a pfx format personal certificate, I can set can't export private key, which means you can't get the private key to use it. So how can
    the browser decrypt the data without private key?
    By the way, what is CSP, use CSP's interface can we use CryptoAPI
    to decrypt data without private key?

    Answer for question is  "you cant".. 
    "How to decrypt data when you can't get the private key in Windows?"
    Read more 
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa387460(v=vs.85).aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/bb427432(v=vs.85).aspx
    http://technet.microsoft.com/en-us/library/dd277320.aspx
    http://en.wikipedia.org/wiki/Public-key_cryptography

  • I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    Remember security on a TC is an illusion.
    Simply press the reset button for 1-2 sec.. you must not do too long .. it will then hard reset.. but soft reset will revert all passwords to default for 5min. ie TC password is now public.
    Remember this the next time because anybody at all can change your passwords.
    Once into the TC you can then open the view passwords if you wanted any weaker security. Click and open the TC.. and click on edit.. then go to the top menu..
    Voila .. all your passwords in plain sight to any Tom Dick and Fred.

  • Is it possible to send an automated message to answer when you can't put yours hand on your phone ?

    Read this now : I would like to have an answering machine for my Message app, meaning I'd love if Messages could just answer back to any incoming message when I'm just not able to message back (i.e. : I don't have my phone with me, I'm working and not able to use my phone, etc.).
    Maybe this is already possible ? Is it ?
    Thanks for your answers.
    I know there's a feature that allows you to send a message batck to a caller when you can't answer, but, 1) you have to do something and 2) it's not automated...
    my iphone is an iphone 6 plus with IOS 8.1 and 128G°

    Oops! I hit "Correct Answer" thinking that I could edit my last reply! That wasn't the correct answer, obviously!
    iTunes has replied to me and told me that I cannot download any artwork outside of the USA, so I guess that answers my question, even though it's not what I'd wished to hear. 

  • It Gives me no reason this message often the first to enter my pass:" When you can not buy Equilibrium - Leonardo da Vinci's Balance Puzzle " and 27other elements. Please try again later". How can I remove this annoyng message? Maybe it's a Virus?

    It Gives me no reason this message often the first to enter my pass:" When you can not buy Equilibrium - Leonardo da Vinci's Balance Puzzle " and 27other elements. Please try again later". How can I remove this annoyng message? Maybe it's a Virus?

    The old rule of thumb was to keep 10-12 GB free. Any lower than that and you will start to have trouble. I was very close to that for a long time and never had any complaints. Now, Lion "encourages" 20% free space (on my newer 250 GB drive) so I try to keep it with more than 50 GB free.
    Do you still have the original memory in that machine too? The metal plate you have to remove in the battery compartment also provides access to the RAM. Your machine will take 2 GB of RAM, possibly 3. You definitely want to max that out too.
    Regardless, you definitely need a new hard drive. When Apple switched to PC components, they had to take a quality hit. These 2.5" notebook hard drives are not very reliable. I'm surprised your hard drive hasn't died by now. I usually get a new hard drive with every major OS upgrade. A $ 50 investment every couple of years is no big deal.
    Unfortunately, you (and I) suffer from being an early adopter in 2006. Those 32-bit machines only accept 2 GB RAM (maybe 3) and are only 32-bit so they can't be upgraded to Lion. Because of this limitation, you won't see as dramatic an improvement as you would with a 2007 machine. If you run more than a couple of applications, your hard drive is always going to have to be doing some VM work. My 2006 machine has even lost its bluetooth. I gave it to my brother. My very similar 2007 Macbook is still running great.
    So, you must get a new hard drive because your old one is likely on death's door. If you don't have at least 2 GB - get it. If you can't afford a new machine, you might want to consider an SSD. That might help mitigate your RAM limitations. You can spend from $ 100 to $ 350 and get a dramatic speed improvement.

Maybe you are looking for