New, trying for a simple timer

I'm new to Labview and I'm trying to make what should be a simple timer.
Specifications:
(1) A "Start" button starts the timer.
(2) A "Stop" button stops the timer.
(3) A knob controls the timer duration.
(4) Something (right now it's just a sine wave generator) runs while the timer is running.
(5) A status LED lights while the timer is running.
(6) The LED and the "something" in #4 turn off when the timer isn't running.
(7) The timer does not run when the VI starts up.
(8) The timer may be turned on or off multiple times while the VI runs.
I can't get #2 and #7 to work.  The Elapsed Time VI keeps running, so putting my Stop button together with the Time Has Elapsed wire on an "Or" operator doesn't work.  Further, upping the knob value (say, from 2 s to 7 s) after the timer runs out will turn everything back on (because the new, later time hasn't arrived yet).  As for #7, I'm not really sure what to do about that.
Here's a picture of my latest.  Edit: The True condition is nothing more than a False constant wired to the "Busy" LED.
Message Edited by DJDDA on 09-29-2007 11:24 AM
Message Edited by DJDDA on 09-29-2007 11:25 AM

Sorry, I misunderstood.
Here's one possible solution. Yes, the big loop currently runs at near infinite speed, consuming all CPU. Typically, you want to place a small wait (e.g.50ms) to make the loop time reproducible between machines and limit CPU use.
You are also generating 100 points, but you are only displaying one. Seems like a waste.
Why are you using tiny font on the front panel and arbitrary color distinction (everything is red!). Also, the classic controls are a bit ugly and outdated.
You should also remember that LabVIEW 8.5 is very new and most here don't have it. If you would convert your VI to 8.0 before attaching, many more can inspect it.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
ScinPan1MOD.vi ‏57 KB

Similar Messages

  • TS3772 Hi Team, I fairly new at this & I'm trying for the first time to download a movie, however its not allowing me to play as it says I need to download quicktime which I have tried to do, I have this application now but its still not allowing me to vi

    Hi Team, I am fairly new at this & I'm trying for the first time to download a movie, however its not allowing me to play as it says I need to download quicktime which I have tried to do, I have this application now but its still not allowing me to play movie, any help please for someone who hasnt got a clue

    where did you download the movie from?
    what is it doing when it wont allow you to play the movie?
    since you downloaded quicktime is it still asking you to download quicktime?

  • Hi - just using the new iMovie for the first time - apparently there should be a sidebar containing tools like "Content Library". Not on mine - even in Window view, Content Library features like text etc are all greyed out - obviously it's me - help?

    Hi - just using the new iMovie for the first time - apparently there should be a sidebar containing tools like "Content Library". Not on mine - even in Window view, Content Library features like text etc are all greyed out - obviously it's me - anyone help please?

    Sorry - I should have added that I have imported a Quicktime movie, originally created as an iPhoto slideshow.
    I want to create rolling credits at the movie end and apparently you can only do this using iMovie - can you help please?

  • Sync to new PC. How do I sync existing iPhone 4 to the new iTune for the first time?

    I just switch to new PC, and so came with new iTune.  How do I sync existing iPhone 4 to the new iTune for the first time?
    iTune library has no music/app, and i don't want to loose what's on iPhone.  Help!

    Oh no, I now have two more situtations; error 13019 and needed software update for version 5 (iphone). In which order should I do?  I feel so helpless....

  • Installing a new forest for the first time in 2008 R2 SP1

    Installing a new forest for the first time in 2008 R2 SP1 with no other forests present do I run:
    E:\support\adprep\adprep /domainprep
    or any other adprep to get the forest ready using the Answer File:
    [DCINSTALL]
    InstallDNS="Yes"
    NewDomain="Forest"
    NewDomainDNSName="mysite.com"
    DomainNetBiosName="MYSITE"
    ReplicaOrNewDomain="Domain"
    ForestLevel="4"
    DomainLevel="4"
    CreateDNSDelegation="No"
    DatabasePath="C:\Windows\NTDS"
    LogPath="C:\Windows\NTDS"
    SYSVOLPath="C:\Windows\SYSVOL"
    ConfirmGc="Yes"
    SafeModeAdminPassword=""
    RebootOnCompletion=Yes

    Hi,
    As per your statement, there aren't any other forest which mean you are creating a new AD forest in windows server 2008 R2 SP1.
    You don't need to run adprep then. Just run dcpromo on the server and select new forest and provide a Domain Name and follow the instruction.
    Regards..
    Himanshu Rana
    MCTS|MCSE|MCSA:Messaging|CCNA

  • I turned on my new imac for the first time and it is making a loud fan noise please help

    I just got a new computer and when I turned it on for the first time it started making a loud fan noise. the noise seems like it is coming from the back speaker. and it does not make the noise on sleep mode.

    Connect the iPad to a USB 2.0 port your computer with the cable and iTunes should launch and it will take you through the process step by step.
    I assume that your computer meets the requirements and that you have the latest version of iTunes on your computer.

  • I'm Trying this New CAM for the First Time  7240

    Brokers, Inc. Specializes in Sourcing Operating Systems and Application Software from liquidators or Overstocked suppliers. We then offer these incredible findings to the public at unbelievable savings...
    New Microsoft Windows 2000 Professional
    Web Software Brokers...New Just Released version, this is the real thing. You can get it from us, here now!!! This Microsoft Windows 2000 Professional or NT 5.0 as it's known to the industry is an OEM version of the OS and is distributed to manufacturers. The combined features of Windows® 2000 Professional create the mainstream operating system for desktop and notebook computing in all organizations. Microsoft took the best business features of Windows 98-Plug and Play, easy-to-use user interface, and power management-and made them better. Plus they integrated the strengths of Windows NT®-standards-based security, manageability and reliability. Thinking of upgrading or buying a new PC, don't wait upgrade now. Only $169.00 + P&H
    New Microsoft Office 2000 Small Business
    Web Software Brokers, Inc. ...New Version, this is the real thing. You can get it from us, here now!!! Microsoft Office 2000 Small Business...Only $226.00 + P&H
    New Microsoft Office 2000 Professional
    Web Software Brokers, Inc. ...New Version, this is the real thing. You can get it from us, here now!!! Microsoft Office 2000 Professional...Only $299.00 + P&H
    WE ACCEPT VISA, M/C, AMEX, DISCOVER OR CASHIERS CHECK.
    Wayne Carson
    Brokers, Inc. ~ Providing Affordable Software & PCs!
    (800) 970-7866
    bibtxvlgzfojinbblfihnqflxxdqrydjmwsprnhzwgjdlctlhcfejtwhqbviciswgsvmrvlzej

    I'm receiving the "an unexpected error occurred" notice.
    There are several things that you can do to try to resolve the bug in Mavericks that causes this issue.
    The first is to make sure that you have set IPv6 to "link local only" for both WiFi and Ethernet. Part of that process is clicking "OK" to confirm, but then you must also click "Apply" in another window for things to "stick". This is an easy step to miss...and a lot of users are missing it.
    Please confirm that you have set "link local only" for both WiFi and Ethernet and that you have clicked both OK and Apply to save the changes.
    You would want to restart your Mac after you make these changes.
    If you are still having difficulty, the next step would be to try an iPad or iPhone for the setup, if you have one handy.
    But, before you do that, we need to understand how you are trying to set up the Time Capsule. What will connect to what?  What is the make and model number of your modem?

  • HT5787 Help...I used what I thought was my password but it didn't work so I reset it....tried the new one and it doesn't work...I have reset and set up a new password for the fourth time this evening and still I can't get in?!!!! What am I doing wrong? Th

    I reset it again and it won't work in iTunes.. I have downloaded several apps before but now it just keeps saying retry.....but strangely my new password got me into this forum site?   Help..have I done something in settings?

    Did you try the one working module in both ram slots? If it worked in both slots then the other module is faulty. If the known good module didn't work in both slots then try the other module in both slots. By a process of trial and error you'll be able to determine if you've just got a bad module or a failed ram slot.

  • Hooking up my iphone to a new computer for the first time....

    My computer broke and isn't worth fixing so I can't access it again. My mom just bought her a new laptop so I just inherited the one she had been using (actually ended up working out great for me cause it's only a year old and nicer than mine that broke).  My new computer didn't have iTunes on it until I just installed it a few moments ago.
    My question is whether or not I need to be concerned that my iPhone is gonna be erased the first time I plug it into this new computer?  I'm concerned I'll lose all my contacts, apps, photos, settings etc.  Just last week I backed up all my music and movies to my external drive, luckily I happened to do that right before the computer died so I'm not worried about that. 
    If it is a problem how do I stop it from erasing all that when it syncs? 

    In regards to iTunes content, an iPhone can be synced or manually managed with music and videos with an iTunes library on a single computer only, and photos can be transferred from a single computer only.
    When transferring iTunes content and photos from another computer, all iTunes content and photos transferred from a different computer will be erased from the iPhone first.
    Photos transferred from your computer are optimized for viewing on your iPhone as part of the iTunes sync/transfer process. The original resolution of these photos is reduced on your iPhone. All photos on your computer and all photos transferred from your computer to your iPhone should be included with your computer's backup along with all other important data, which should include your iTunes library as well.
    Backing up your iTunes library per the instructions included with this link and transferring the backup to a new or different computer will prevent any iTunes content from being erased from your iPhone first when transferring iTunes content from a new or different computer.
    http://support.apple.com/kb/HT1751
    iTunes includes an option to transfer iTunes content that was purchased/downloaded from the iTunes store from an iDevice but this is for iTunes content that was purchased/downloaded from the iTunes store only.
    First you need to authorize the new or different computer with your iTunes account with iTunes if you haven't already done so. With your iPhone connected to iTunes and without syncing, at the iTunes menu bar go to File and select Transfer Purchases From - the name of your iPhone.
    You can use a 3rd party paid utility such as this one to transfer photos from your iPhone that were transferred from your former computer, but the original resolution of these photos will be lost, and such utilities are not supported by Apple.
    http://www.ecamm.com/mac/phoneview/
    Contacts are designed to be synced with a supported address book application on your computer. If you aren't doing so, contacts on your iPhone are not touched when syncing your iPhone with iTunes on a new or different computer. If you are syncing contacts with a supported address book application on your computer and the supported address book application on the computer is empty, before the first sync for this data enter one contact in the supported address book application on your computer. This will provide a merge prompt with the first sync for this data, which you want to select.

  • On my new desktop, for the first time ever, I cannot access my gmail through Mozilla without getting a "get me out of here" option and I cannot figure out why.

    I have been trying all day to access gmail on mozilla. I installed, uninstalled, and re-installed Firefox and I keep getting the same warning whenever I try gmail. All other sites function perfectly.

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make sure to backup this data or make a note.
    You can't recover from this 'forget' unless you have a backup of the involved files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

  • I want to buy Diamonds for my tos game but it come out a message ask me to contact itune support, can anyone help me with this? Cuz I had tried for a long time but still can't buy.

    I Want to buy diamonds for my tos game but it come out a message ask me to contact itune support. Can anyone help me with this? What should I do so that I can buy my diamonds?

    You can contact iTunes support via this page and ask them why the message is appearing (on these forums we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then try selecting Purchases, Billing & Redemption

  • Is there any way to disable "Checking Your Add-ons" window that comes when user starts Firefox after update for the first time?

    we have over 1500 firefox users and its very confusing to them if after update they start their Firefox and this "Checking Your Add-ons" window comes.
    It would be much appreciated if it can somehow skipped this or do it silently.

    Unfortunately this link does not help.
    We currently have 3.6.x versions of Firefox in most computers, and if i do a silent install via sccm to version 12, then if user starts the new firefox for the first time, it checks addons, like java quick starter and browsing protection (f-secure) etc. Second time when they start firefox, it starts normally.
    My question is - is there some way to avoid this first run addon compability checking?
    I've tried numerous preferences in mozilla.cfg, nothing helps so far.

  • How to activate New Editor for XSLT Transformations?

    Hello Everyone!
    I am currentlyworking on some Simple Transformations (Txn STRANS). As I am very happy with the New Frontend Editor, I would like to use the new Editor for editing Simple Transformations, like I do, when editing usual ABAP Code.
    Where can I activate the New Editor fpr XSLT Programs? I have already set the Flag to use the new editor when editing ABAP Code, but this Flag unfortunately has to influence on the editor used for XSLT programs... ;-(
    Greetings
    --MIKE

    Hi all,
    How to use conditions in XSLT Transformation,
    Thanks
    Reddy.n.l

  • HT2155 Ive been trying for days now to set up gmail.  I always get the message "user name or password for imap.gmailcom is in correct" I know for a fact that my onfo is correct.

    I have been trying for a long time to set up my gmail account.  So far to no avail.  I get a message that says "User name or password for Imap.gmail.com is incorrect.  Any sugesstions?
    thanks

    Try unlocking your account here: https://accounts.google.com/DisplayUnlockCaptcha.

  • Problem accessing MySites blogs for the first time - please help?

    I have a customer who has installed SharePoint 2013 with a norwegian language pack, and it's working fine, except for a couple of things. We have a custom search web part that lists the 5 latest blog posts, but we're experiencing a bit of trouble with this.
    It's similiar to this question:
    http://social.technet.microsoft.com/Forums/en-US/4b1d053b-3b32-4e5d-834d-37f25c8b177d/opening-mysite-blog-links-gives-404-on-first-try?forum=sharepointgeneral
    When I click a new blog for the first time, I get sent to a non-existing web page with the following link:
    http://domainremoved.com/person/garrobbi/Blog/Lists/Posts/Post.aspx?List=c0a7fffb-fa75-4b74-a1ef-523b6c389e77&ID=1&Web=d3c87cb9-6a8e-4ed1-a998-a4d5e546fe27
    and get a 404 error.
    If i click back and navigate again, i get sent successfully to the same link but with Posts replaced by Innlegg.
    I have also verified that the url of the link is the correct one in the first place, when i hover over the link.
    The second problem they have, is that the blog profile pictures are missing. We've set up sharepoint with host named side collections and different url's pr site collection. Profile search and mysites shows pictures succesfully from both inside and outside,
    but the blogpages show pictures based on were they are uploaded from. I've enabled crossdomainphotos on the web application.
    Any clues?
    Thanks in advance.
    Anders

    I took a quick scan of the fixes in SP1 and I don't see anything that looks to be a fix for what you're describing. 
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

Maybe you are looking for

  • IPod Classic refuses to sync Audiobooks

    My iPod and iTunes now refuse to sync Audiobooks. Problem occurred when I bought a new book on iTunes. Refused to sync it. As I've experimented I've discovered that it refuses to sync any of my audiobook library except 1 book. So far, I've tried: 1)A

  • Issue with the String return from com.sap.aii.af.mp.module.ModuleData

    Hi Friends, We are developing Adapter for XI using java, XI is giving String in the form of ModuleData, we r getting the String from ModuleData but in the logic we need to split the String in parts based on character '…', but I observed that in the c

  • How can i set upfind my iphone on my laptop to find my phone

    i lost my phone at a party and i need to set up find my iphone on my laptop to find it. can i do that?

  • Oraenv problem in 11g

    Hi, I have problem while execute . oraenv script. Recently i have upgrade my db from 10g to 11g. My DB is : 11.2.0.1 OS : RHEL5 Error : [oracle@primary ~]$ . oraenv ORACLE_SID = [+ASM] ? The Oracle base for ORACLE_HOME=/u02/app/oracle/product/11.2.0/

  • Email with attachement as pdf of submitted form

    Hi all, Can anyone suggest me how to get an email as an acknowledge ment with the submiteed form as an pdf format.? I want to get an acknowledgement mail after submitting the form through the work space.. and email should contain the submitted form a