How can I limit the run time of my VI so that it starts when the arrow is clicked, and stops automatically when a specified time has elapsed using Labview 7?

I can't seem to find the proper tools to do this. Any help would be greatly appreciated. Thanks in advance.

I'm guessing that you're running something in a While loop, so you should be able to stop whenever you want.
In LabVIEW 7, there is a new Express VI on the Time & Dialg palette named Elapsed Time. You specify the time you want, and it generates a boolean True after that amount of time has passed. Just connect this boolean to the Wile loops conditional terminal, either directly or "OR" it with a stop button so you can stop it yourself if needed.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Similar Messages

  • How can I update cluster items from inside a while loop that does not contain the cluster?

    I have a VI that contains front panel clusters and two while loops. The main cluster contains items such as a doubles "distance" and "stepsize" and boolean "step" (a whole buch of this type stuff). The first loop contains an event structure to detect front panel changes and the second contains code and sub VIs to perform operations based on detected events.
    The operator can enter data into either double or click the boolean. If distance is changed the second loop does what is required to process the change. The same happens with stepsize. If step is clicked the ±stepsize value is added to distance and the result is processed. In each case the front panel should track the result of the input and subsequent processing.
    Because the clusters are outside the while loop, they are not updated unless I click 'highlight execution' which seems to allow updating each time the execution highlight is updated. There are other issues if I move the clusters into one of the loops.
    I've tried referencing the clusters and using local variables and nothing works. It looks like overkill to use shared variables for this.
    Any ideas would be greatly appreciated.
    Thanks,
    Frank    

    Hi Ben,
    Thank you for the response. I followed the link and tried reading everything you posted on AEs but I'm afraid that I didn't understand it all. It seems that each AE example had a single input and a single output (e.g. a double). Is this the case? 
    What I have is a couple of front panel clusters containing (approximately) 18 control doubles, 8 indicator doubles, 5 boolean radio button constructs and 26 boolean control discretes. I clusterized it to make it readable. In addition I'll eventually have a cluster of task references for hardware handles.
    All I want to do is update the front panel values like I would do in a C, VB or any other language. I've tried referencing the cluster and using the reference from inside the loops. I've tied using local variables. Neither works. I'm experimenting with globals but it seems that I have to construct the front panel in the gloabal and then I wouldn't know how to repoduce that on the front panel of the main VI.  Sometimes it seems that more time is spent getting around Labview constructs than benefitting from them.
    I hope the 'Add Attachment' function actuals puts a copy of the VI here and not a link to it.
    Thanks again for the suggestion,
    Frank 
    Attachments:
    Front Panel Reference.vi ‏33 KB

  • How can I delete an extra copy of a podcast episode that I downloaded via the iPhone's iTunes app?

    I downloaded an episode of a podcast using the iTunes app on my iPhone.
    I listened to it, and then later synced it to my iTunes.
    I have iTunes set to delete podcast episodes after I listen to them, but this one is still on my iPhone.
    How can I get this episode deleted from my iPhone?
    I have a Verizon iPhone 4 running iOS 5.0.1.
    Thanks in advance!

    It's not clear from your post if you've tried downloading the app again from the App Store directly on your phone. If you haven't I'd give that a try.

  • How can I open my old Apple Works 6 documents now that I have OS X 10.7.2 and iWork 4.1 (pages '09)

    I have a lot of Apple Works 6 documents that I can not open now that I Have OS X 10.7.2 and iWork 4.1 (Pages'09).  How can I open and convert those documents.  I really need those documents.

    Pages '09 (4.1) should have no problem opening your AW6 word processing documents.
    You can open an AW6 wp file in Pages by -
    • Do a Get Info on the AW6 file, then choose Pages from the Open With pulldown menu. Close the Get Info window, then double-click the AW6 file. If you want to do this to all of them, befoe closing the Get Info window click the "Change all" button just under the previous pulldown menu.
    • Start up Pages, use the Open item in the File menu to navigate to and open the AW6 file.
    • Drop the AW6 file onto the icon for Pages.

  • How can I recover my missing iPod Touch? Be mindful that I have tried the find my iPhone app but it won't work because my ipod isn't in a wifi zone

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^

    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                                                
    Reporting a lost or stolen Apple product                                        
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • How can I remove a misspelled username or e-mail addy that is saved in the drop down menu without removing all of them?

    When e-mail addresses or usernames are saved in the drop down menu for easy access, is there a way to remove only the misspelled ones without removing all the correct spelled ones?

    When you see one of those mis-spelt items, highlight it and then hit the Delete key (or hit {Ctrl + Delete} on some platforms).
    http://support.mozilla.com/en-US/kb/Form+autocomplete#Deleting_individual_form_entries

  • How can I copy file/folders from and to hard drives? How can I have two or more windows of explorer so that I can drag and drop from one hard drive to another?

    Hi,
    I am a new customer (purchased last week) of MacBookPro (latest) and its my first ever Apple laptop.
    I am almost lost to find the operating tools.
    1. How can I copy files from hard drive to computer and vis-a-versa?
    2. Only can browse one but how can I have two or more browses at the same time like in MS windows?
    3. No right click works on track pad?
    4. Is there application/ program compatible to MS office? If so how much and how can I purchase?
    5. Is there AutoCAD program that is compatible to MS Window AutoCAD? and if yes how much and how can I purchase?
    I will very much appreciate if you could email me the with the solution/answers please.
    Regards,
    Khagendra Limbu

    1) For some reason this happens once in a while with FAT32 enabled external harddrives. I have no idea why this happens but it most easily solved by reformatting the drive. First make sure you've copied everything from the external drive to your internal harddrive. You've done this earlier so I assume you know how to do this.
    Now the reformatting part. Open Finder and go to Applications. Look for the folder called "Utilities". Click on it. In it you find a program called "Disk Utility". Click on it. Now look for the external drive. You probably see two entries for the disk. Click on the one that contains the name of the drive NOT the one that describes the disk (Like for example 320.07 GB Samsung S2 Portable Media).
    Now you see four tabs in the righthand part of the window. They're called "First Aid", "Erase", "RAID" and "Restore". Click on "Erase". This opens the tab with (amongst others) a dropdownbox (Format) and a textbox (Name) . In the dropdownbox select "Mac OS Extended (Journaled). Take note! This selection disables usage of the drive with Windows PC's. If your goal is to share the drive with Windows PC's select the MS-DOS FAT option.
    Enter a label for the drive in the textbox Name. Now click on the button "Erase". This will format the drive.
    Now when it's done you can copy back all the items you've copied to your internal harddrive earlier.
    2) Opening two windows like Explorer on Windows is opening two Finder windows on the Mac. Simply click on the background. In the menubar you items like 'Finder", "File", "Edit", "View", et cetera. Click on "File" and "New Finder Window". Do this two times. Alternatively you can click on the background and press CMD-N two times.
    3) You can right click on the trackpad. This however depends on if you've enabled the feature in System Preferences. In the topmenubar click on the Apple icon and select "System Preferences". Now look for Trackpad in Hardware. Click on it. You see three tabs with the names "Point & Click", "Scroll & Zoom" and "More Gestures". Select "Point & Click" and look for "Secondary Click'. Make sure it is checked and make sure it has written "Click or tap with two fingers" written beneath "Secondary Click". When you're done exit System Preferences. Now select the background and tap with two fingers on the trackpad. This should open the contextuel menu with options like "New Folder", "Get Info" et cetera.

  • I have the exclamation point symbol next to podcasts that don't meet the criteria for said symbol based on the FAQ

    When I'm looking through and trying to manage my Podcast library within iTunes, I see the exclamation point symbol next to several. My first issue is the fact that there are many that have this symbol that I only wanted a few episodes and not a subscription. How can I fix this problem?
    My second issue is that for many of the podcasts with the exclamation point symbol, they don't fit the criteria based on what's in the Symbol FAQ, which states that there are too many unplayed episodes so new episodes won't download. For the podcasts in question, this is not the case, as all episodes have been listened to. What can be done to fix this problem?
    My third issue is the fact that when I DO play a podcast on my iPod Touch (4th Gen), I don't use the app (can't stand it), then go to sync it with the computer, these episodes are shown as having already been played PRIOR to the actual syncing happening. So, when I go to do the ACTUAL sync, the play count is off. Right now, I have to manually reset the play count so that the episodes that I listened to on my iPod Touch only show one play in the library count, not two or in some cases, three. How can I fix this problem?
    I have the most current version of iTunes and use Windows 7 64-bit.
    Thanks for ANY help!

    Try this Support Article  >  http://support.apple.com/kb/HT1808

  • Programmatically starting and stopping my vi at set times

    I have a vi that runs during every production shift, however the running and stopping of this vi is currently manual, requiring a user to start and stop the vi at the appropriate times. I would like a way of programming the vi so that it starts every weekday at 6:55am and stops every weekday at 15:05pm. All my while loops run if engine status is TRUE, so I wondered if starting/stopping the engine appropriately would be sufficient. I will need to reinitialise all my values from the previous day – does this happen automatically by stopping/restarting the engine? I would also like to ignore weekends if possible.
    I have attached the vi that I would like to automatically start and stop. If anyone knows the best way to program this (slightly messy) vi, then I would greatly appreciate the help.
    Thanks to all,
    Stuart
    Attachments:
    HC2 Efficiency Information SW Edit (rev 10).vi ‏1202 KB

    My LV8 is having issues this morning and does not want to open the VI I sent you, so I jsut created the loop that I had added.  It is very simple, but should get you started.  It does not ignore weekends I have not had time to work on that.  You could do something like every time the start time is triggered, increment a counter and when the counter hits 6 (saturday if you start counting on monday), do not start the engine and then when it hits 7 reset the counter.
    Good luck and post back if you have more issues.
    Kenny
    Kenny
    Attachments:
    start stop.vi ‏16 KB

  • Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    You can't. Why on earth would you attempt to manage 2500 emails with setting up a folder structure or some means of doing so? Simply keeping them in an single inbox is not realistic, no matter what email client you use.

  • How can I limit the number of emails retained on my ipad air?

    How can I limit the number of emails that are retained on my iPad Air?  Because of legal requirements of a long-term project, I cannot permanently delete emails relating to that project from my ISP's mail server.  My gmail account contains over 17,000 emails and, upon setting up my new iPad, and updating to ios 7.1.1, I now have all 17,000+ emails taking up space.  I would like to limit the emails by count as I was able to do on my old iPad running ios 5.1.1 OR to retain them based on date range.  I have not found any instructions on the support discussions or general iPad blogs that allow me to do that.  Any way around this problem?
    I also miss the 5.1.1 mail search feature that allowed me to narrow the search by from/to/subject/all.  Does anyone know if that feature is available using some little-known ios 7.1.1 feature?
    Thanks for your help.

    jlfcba wrote:
    IOS 7.1.1 doesn't show a "days to sync" parameter anywhere in SETTINGS/Mail,Contacts,Calendars/ACCOUNTS/GMAIL Account/ GMAIL Acccount Info.  There is nothing in iTunes relating to such an option either.  So, it seems I'm back to square one.
    If you have a decent mail provider like Microsoft Hotmail or Outlook.com mail it does.
    If you have Gmail it does not.  Quite right. Gmail is rubbish.

  • HT2729 I have limited space on my new ipad. How can I limit the number of songs from my itunes on my imac from going to my ipad when I connect the two?

    I have limited space on my new ipad. How can I limit the number of songs from my itunes on my imac from going to my ipad when I connect the two?

    you can do this by keeping the external hard drive connected and doing the following
    -hold shift key down on computer while opening iTunes and a prompt will appear to choose a library
    -select choose library, iTunes should bring up your explorer windows where you can search for the external HD
    -after you find the external HD find the iTunes folder you just copied to it
    -after opening the iTunes folder look for the file that says iTunes library.itl or if you can't see that extenstion just look for a document looking thing in the iTunes folder that shows up as a database file
    -double click the database file and boom iTunes should load your library without having to copy it to the computer
    PS: do make sure that if you are going to do it this way, make sure that the external HD is connected at all times, because if you don't then you will get exclamation marks next to your iTunes songs
    double PS: if you are unsure how to find out if the iTunes library file is a database file just right click it and choose properties and under the type it should say database file
    hope this helps:)

  • How can I limit the number of rows returned by a select stat

    How can I limit the number of rows returned by a select
    statement. I have a query where I return the number of stores
    that are located in a given area.. I only want to return the
    first twenty-five stores. In some instances there may be over
    200 stores in a given location.
    I know is SQL 7 that I can set the pagesize to be 25....
    Anything similiar in Oracle 8i?
    null

    Debbie (guest) wrote:
    : Chad Nale (guest) wrote:
    : : How can I limit the number of rows returned by a select
    : : statement. I have a query where I return the number of
    : stores
    : : that are located in a given area.. I only want to return the
    : : first twenty-five stores. In some instances there may be
    : over
    : : 200 stores in a given location.
    : : I know is SQL 7 that I can set the pagesize to be 25....
    : : Anything similiar in Oracle 8i?
    : If you are in Sql*Plus, you could add the statement
    : WHERE rownum <= 25
    : Used together with an appropriate ORDER BY you
    : could get the first 25 stores.
    Watch out. ROWNUM is run before ORDER BY so this would only
    order the 25 selected
    null

  • When creating users in apex,how can i limit pages depending  the user?

    Hi,
    1.When creating users in apex,how can i limit every user in the pages he can run or see depending on the user profile ?
    2.Are the user that is created in apex also a user in DB ?
    Thanks in advance
    Yoel

    Yoel -
    We're talking about end users of applications you develop in Application Express, not users that login to the development environment.
    You do not have to use Application Express to create user accounts for your application. Your apps can authenticate using SSO, LDAP, or other methods. If you use Application Express user accounts, that is only for convenience which may not be convenient in the long run if you have to manage those accounts, but that's up to you.
    These Application Express accounts have no relation to database accounts. This situation is slightly different when using the XE database.
    Your application's authorization logic determines which users can access the application, pages, or other components, that is, it is not the user account properties, per se, that control application access but rather the application's determination about the properties of the authenticated account in use that allow it to control access. For example, you don't create an account and give it attributes that say this user can access application ABC and pages 1,2, and 7. Instead, you might give that account properties like SALES MANAGER ROLE and the the application would allow only users with SALES MANAGER ROLE (whatever that means) to access certain pages.
    Scott

  • How can I get iTunes running on Windows XP as well as a newer laptop running Windows 7 to both recognize my new iPhone 4S?  It seems to work fine with Win 7 PC so far, but not at all with the XP OS separate laptop.

    How can I get iTunes running on a Windows XP machine as well as, separately on a newer laptop running Windows 7 to both recognize and sync with my new iPhone 4S?  I have different libraries on each machine which I need to sync with the iPhone, both in iTunes.  It seems to be workiing fine on the Windows 7 machine, but not even reconizing the device at all in iTunes on Windows XP.
    Thank you for your assistance.

    Hi turingtest2 - thanks for the reply. As you say It is how it is - and I have three workstations in this home (not counting three for my children and one for the family) and I pretty much always have more than one OS on each - that's how it is for me. I shouldn't have to worry about how many OSs I have (or how often I change them) just to have music while I'm working - through the PC sound system that is. I never have to worry about any other software, only iTunes. Once in a while (in the past) I've made a vendor call if I changed to many things to often (like CPU, GPU, memory, etc - or even a replacement MB) - but that hasn't happened in a couple years (at least since Vista) so I think (hope) they have fixed that for good. And even then it was a quick call and problem resolved. The only (glaring) constant problem is iTunes - limiting my own use of my own music (by counting an OS as a physical PC). Even with VM (which is just another OS) - although you can Attach things to multiple active OSs - it's still your own (purchased) music - and all on one PC. Thanks again!

Maybe you are looking for

  • BAPI for Vendor Invoice and Credit memo - FB60

    Hi Iam using BAPI_ACC_DOCUMENT_POST for creating Vendor invoice and Credit memo ..Could you please tell me which fields to be populated on the below structures? what will be the value i should use for BAPIACHE09-BUS_ACT...RFBU or RMRP? ACCOUNTPAYABLE

  • SMB issue in 10.9.2 Server

    Hey everyone, Hopefully I can get some help or at least someone else can recognize the issue at hand. We recently upgrade our Mac Mini Server to 10.9.2 and are having major SMB issues. It's hard to specifically tell but it seems like when we hit a ma

  • JS/CS3 Move content to previous table cell

    I try to create a script that should find and cut a certain content of the cell and paste it to previous cell. For example $12,333.  The $ sign should be in the previous cell while the number should retain to its location. I am new in scripting and m

  • How do i disable automatic photo downloading in PSE 12?

    I have been searching for a way to disable the automatic photo downloading in Photoshop Elements 12, but haven't found any way to do it. I don't want the service running at all unless I choose to launch it manually. What is the correct way to disable

  • Iphoto does not use the proper display profile

    Hello. I just bought a 20' Apple Cinema display and connected it to my Macbook. I have noticed a very strange behavior of iPhoto and Preview. I will first describe the expected (right behaviour). When I drag an image opened in Adobe LG or Aperture fr