Can i stop a timer in between

hello,
i have  a situatino where i have to monitor the time elapsed for an application but in one specific condition(say a switch toggle) i have to stop the timer and then resume the timing when the condition aborts.
how do i achieve that??
awaiting replys
thanks for the time
vijay

vijay,
Here is an Elapsed Time VI (LV 8.0) which I use in projects which require a Pause/Resume capability. The while loop in this demo VI may be the state machine while loop in your main program. This VI can be modified to meet your exact needs.
Lynn
Attachments:
Elapsed Time.demo.vi ‏20 KB

Similar Messages

  • How can I put a time delay between specific events in a while loop?

    How can I put a time delay between specific events within the same while loop? I'm already using the "wait" command to control the overall loop iteration speed. But I want to time the individual events as well.

    Hi Jesse,
    You can use a flat sequence. In each box you can put your individual events and attached wait.
    Don't forget to reduce your total loop time of the time you added in the individual sequences.
    Doc-Doc
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • How can I measure the time difference between spikes (interspik​e intervals)

    I have used NI USB-6008 (DAQ) to sample a continous signal, after sampling I compared the amplitude of the resulted signal with a value. If the amplitude is greater than a specific value (threshold) then it can pass. Now I want to measure the time difference between the resulted samples. The samples look like spikes. (May be if I trigger a timer, then I can measuer the time difference, but I have not seen such a timer). 
    Thanks in advance,
    Saraydin

    Oops just occured to me that you are using a 6009 which is not very fast, 48ks/sec, this will not get you very much time resolution and you could have issues seeing much of a 50 us sample.  Another approach is to use the counter but you would have to preprocess the spikes to generate a trigger for the counter.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How can i stop the time changing on my iphone when i sync it with my laptop?

    Each time I sync my iphone the tie jumps forward an hour.
    How can i stop this as it is causing me no end of trouble with alarms and work appointments. I have doubled checked the time and date is correct on my laptop and all is spot on.
    Any help appreciated.

    I had the similar problem last night and found a solution (although it takes more than a few clicks).  Highlight all the album tracks in itunes on the pc and right click "get info". Check the artwork box in this window.  I found that the now playing art was showing up in the itunes window, but on songs that were missing artwork showed nothing in the get info box.  When I replaced the artwork by using the artwork command, or manually adding it into the "get info" window.  It was annoying but my iphone updated every album.

  • I can't Stop a Timer

    hello, i need to stop the timer when MOUSE_OUT
    this is the code:

    initialize myTimer outside of velUno so that it's not a
    variable local to the function, add another event listener that
    listens for mouse out, and in the handler this event listener
    calls, stop the timer.
    i have used ROLL_OVER and ROLL_OUT as i suspect you may
    prefer these events.

  • How can I reduce channel time reconfiguration between AI acquisitions? thanks

    Hi everyone,
    I need to acquire 40 sin signals (2000 kHz) at a sampling rate of 250kS/s per channel using a 6225 daq card with its AIs. In order to reach this sample rate I have to acquire all of the samples of the first channel (something like 2000 samples), then the same thing with channel 2,... up to channel 40.  My problem is that I am loosing a lot of time (roughly 170 ms) each time I move up one channel because Labview reconfigures the channels.
    When I move up one channel to acquire the 2000 samples the only parameter that changes is the channel that's all.
    I have tried a few things with the assistant DAQ and Daqmx examples but without any success. 
    Is there a way to reduce this paramating time between 2 acquisitions ...?
    Any help would be great.
    User
    Solved!
    Go to Solution.

    Hi Denis and LV,
    Thanks for answering.
    My purpose is to capture the 40 signals and get the RMS value of each of the channels (using one of the RMS.vis). 
    I had already tried capturing the 40 channels at once (infact I only tried capturing one channel at 6.250 Ks/s) but the RMS value isn't correct enough (the value isn't stable). I have attached my VI and saved 10 of the RMS values in the array to show you.
    Thanks,
    User
    Attachments:
    Forum.vi ‏87 KB

  • How can i compute the time elapsed between two pulses or the period of an encoder signal if I dont have a constant rpm?

    I need to compute the rpm of an engine using information from an optical encoder attached to it. the engine is running in transient mode so the encoder pulse doesnt have a constant frequency. I need to get the period betwwen two rising or falling edges using DAQmx.
    Any ideas?

    Using an M Series or TIO device you can measure the period between two edges (on two different signals) using the two edge separation measurement.  I'm assuming that you don't want to use position measurement because the frequency is varying so much?  If not, you may be able to set the sample clock period short enough that you get a decent average RPM measurement.
    gus....

  • How to get time diff between to date

    Hi all,
    How can I get the time diff. between two date in a single query
    as in the example below-
    select
    to_char(sysdate,'dd-mm-yyyy hh:mi:ss') d1,
    to_char(sysdate-45,'dd-mm-yyyy hh:mi:ss') d2,
    months_between(sysdate,(sysdate-45)) mon_diff
    /* how can I get the time diff in terms of hour ,min, seconds*/
    from dual

    314214, The difference between any two Oracle dates is measured in Days and fractions thereof.
    A day = 24 hrs, = 1440 minutes, = 86400 seconds
    Use the mod function on the difference
    HTH -- Mark D Powell --

  • Stop button??, Between previews and play/pause button?? all time on play

    I try stop the music or video, but i can find the stop button, i push the space between previews and play/ pause button and don't stop, all time is on play.
    somebody can help me
    thanks

    The play/pause button on the click wheel is the stop button.

  • Every time I fire up my iMac a window pops up saying "Mount notification quit unexpectedly" and it gives me the option to either "Reopen" it or click OK, which gets rid of it. What is this please and how can i stop it?

    Every time I fire up my iMac a window pops up saying "Mount notification quit unexpectedly" and it gives me the option to either "Reopen" it or click OK, which gets rid of it. What is this please and how can i stop it?

    Hopefully this will help you.  Try placing your iPad in recovery mode again.  You may have to try this a few times.
    iOS: Unable to update or restore

  • HT1766 Hi, I share an iTunes account with my wife. Sometimes she gets my iMessages and I don't and vice versa. Also if people face time me it goes to her phone. How can I stop this from happening?

    Hi, I share an iTunes account with my wife. Sometimes she gets my iMessages and I don't and vice versa. Also if people face time me it goes to her phone. How can I stop this from happening?

    You can share the same Apple ID in
    Settings > iTunes & App Store > Apple ID: here
    But for all other Apple services like:
    FaceTime, iMessage, iCloud, etc, one of you should use a different Apple ID.

  • All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us

    All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us

    Everything that you have checked in your icloud settings will be shared between devices using the same Apple ID.  If you don't want icloud to share that information, then simply turn off that process under settings > icloud

  • Can I have a Face Time conversation between two Apple devices using the same Apple ID?

    Can I have a Face Time conversation between two Apple devices using the same Apple ID?

    Yes, you can, but the two devices can't have the same e mail address associated with both.  Each, device needs its own unique e mail ADR.  In your case, the iPod can call your iPhone if you use the phone number, but the iPhone can not call your iPod because it must use the e mail address, and if the email address is the same on both, the iPhone will think it's calling itself, so the call will not go through.

  • How can I stop multiple tabs from opening along with Mozilla Firefox Start Page at launching time.How can this be stopped?

    Whenever I launch Firefox, multiple tabs also start to open along with the Mozilla Firefox Start Page, which is very irritating. How can I stop this to happen each time I launch the browser?

    See these articles for some suggestions:
    * https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved
    It is also possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • HT1399 How can I stop my MacBook's iTunes from asking if I want to delete tracks each time I press to play one?

    How can I stop my MacBook's iTunes from asking if I want to delete tracks each time I press to play one? Is it a bug from iTunes's version 11.0.5?
    Since I dowloaded and installed iTunes' version 11.0.5 on my MacBook, it is behaving strangely:
    - displaying an alert message asing if I want to delete tracks each time I press to play one
    - not playing tracks in the order they're displayed in my library, sometimes jumping from one playlist to the other
    I did check my settings and preferences for playing tracks and tried changing some parameters in them, however it still doesn't help.
    It seems to be a bug in iTunes' version 11.0.5 — if you had a similar experience and found how to solve this discomfort, thanks for contacting me.

    Oui, je parle français. En fait, il semble qu'Apple ait résolu le problème auquel j'étais confronté car ce problème a disparu suite à la mise à jour logicielle d'après (désormais sous Mavericks).
    (It seems Apple solved the problem I was facing since this problem disappeared after I updated my software to/under Mavericks).

Maybe you are looking for

  • Ipod Touch 4G music lags while using Apps

    When I play music and use the app called "Tiny Tower" then the music lags very heavy while using the app and it's not possible to enjoy it anymore. Is it just me or is anyone else experiencing such issues (maybe with other apps) too?

  • Mercury GPU acceleration worse then software acceleration :(

    I have to date the latest Premiere, and the latest Nvidia drivers.. Two GTX 580 cards and a Intel i7 4930k. The timeline I'm having uses loads of warp stabelizers, AVCHD footage and heavy speedgrade looks with masks and five primarys. The gtx cards w

  • Final Film output differs from the film in timeline!!!! :

    This is frustrating. I am working on a film and when I want to export it when it is finished the final output does not match some parts of the project in the timeline. I look at the film within Final Cut Pro and everything look good. But on some part

  • SAP script linking with internal table

    Hi all, This is my program to print invoices REPORT  z_g_test. TABLES: sbook. DATA sflights_wa TYPE sflights. DATA: itcpo LIKE itcpo. DATA itcpp LIKE itcpp. DATA sflights_itab TYPE TABLE OF sflights WITH HEADER LINE. DATA sbook_itab TYPE TABLE OF sbo

  • UEFI information...

    I made a recent post about how to disable the onboard RAID300 on my RD430. And there was an answer. But after 20 or more frustrating hours later, two things are very apparent: 1) There is no "bios" documentation. 2) Lenovo's implementation of UEFI an