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

Similar Messages

  • How can i put a time/date stamp in Apple contacts, "Note"

    how can i automatically put a time/date stamp in Apple contacts, "Note"
    ei , when i enter a new note to a contact. I want the time and date to automatically show at each note.

    This is not a feature in Contacts. I suggest you send Apple feedback to let them know you would like to see this option.
    http://www.apple.com/feedback/macosx.html
    You can easily add the date stamp using an app like TextExpander.
    Read this article about using snippet keepers. http://www.macworld.com/article/151286/2010/05/clipboardmanagers word

  • How can I put a timed pause between CFMAIL sendouts?

    A preface, this is not marketing e-mailing I'm discussing, it's already opted-in government notifications requested by the customers.
    This is driving me absolutely crazy.  I've got a working SQL query that pulls a number or records (e-mail addresses), then sends out a series of mailings in batches (still working on that part).
    What I'm stuck on is how in the world can I pause the CFMAIL processings between batches?  For example, I want to send 500 e-mails, pause for 10 minutes, send the next 500, etc.
    CFTHREAD looks kinda like what I might need but I'm not sure.
    We're afraid of sending all at once (probably no more than 5,000 to 10,000 total) in fear of being blacklisted.  Usually this app will only send 100 to 500 at a time.
    Thanks in advance for any help you guys can give!
    This is for CF8, incidentally.
    T

    I've developed a mailing application like this for our own (used for sending up to 100k emails per job so far without a problem) and my solution was this (simplified):
    1) set-up a CFusion cronjob that runs every X minutes and executes the following
    2) select all records/email-addresses within the sql query (no maxrows parameter)
    3) cfloop over this query result-set with startrow and endrow parameter to select just the desired number of addresses
    4) stored endrow value in database and used this one as startrow param for the next run/loop, X minutes later... and so on
    I do not think that using cfsleep is wise, as such mailingjobs could potientially run for hours if not days, and you don't want to let scripts run this long.
    First they occupy one of the precious "max parallel cf threads" slots on your server and second you could potentially loose all progress of this task if your server ever restarts while this script is running.

  • How can i put a time stamp on photos

    I used to be able to set menu to time stamp photos but it seems to be gone now. Does anyone know how to put it back? I searched help topics in iPhoto and there was no help.

    There never has been such a feature for iPhoto - you probably have (or used to have) one on your camera
    In iPhoto you can see the date/time info from the camera in the info pane
    LN

  • 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 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 can I put my pictures in a specific order.

    I want to change the order of the pictures in a file/event.  How do I do that?

    Greetings Regina,
    Hope Waukesha is treating you well, haven't been there in years
    Events are sorted in the following ways:
    If Date, Keyword, Title, and Rating are not what you are looking for then it is time to start using Albums.
    Highlight the images you wish to work with and then go to File > New > Album (you can drag more images into this Album later if you want to arrange more of them.)
    Once you have the images in an Album you can use the "Manually" sort option which means you can drag the images into whatever order your heart desires.
    Hope that helps.

  • How can I remove all Time Machine data from an external HD, while retaining the other folders/files on the disk?

    I recently replaced my old Macbook Pro with a new Macbook Pro Retina.
    The original MBP had Time Machine set up on an external HD, and I also had some manually saved/backed up files (stuff that didn't need incremental backups; very old stuff) on the disk as well, in folders.  This worked fine and well for the life of the original MBP.
    When I set up the MBPr, I did not elect to transfer everything over from a Time Machine disk, as I wanted a Fresh Install; I chose to just re-download/install the apps  I needed from the App Store.  Much cleaner, more stable.  I updated to Yosemite immediately so, it gave me more of a  clean install.
    The problem is, Time Machine now won't read any Time Machine backups from that disk.  Migration assistant can pull data from it, but it's a bit wonky.  It was easier to just manually copy over what I needed.
    Now, I just want to "reset", and completely remove the old Time Machine data from the external hard drive, since it is completely useless to me now (I can't access it on this computer, and it's taking up space).  I want to remove the Time Machine data, as if it were never there, but keep my other folders/files that are on the disk (so, a format is not feasible).
    I will then set the disk up as a new, fresh Time Machine disk for the new MBPr. 
    What is the proper method for removing Time Machine data from an external disk (which doesn't seem to be associated with this machine anyway)?  I know a simple rm -rf will cause problems.
    Thanks for any help provided.

    See the yellow box in #12 of Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum).

  • How can I fix the long delay (15 min  ) between the time I select a song to the time it begins playing?

    How can I fix the lond delay (15 min.) between the time I select a song to the time it begins playing?

    Hi Ben,
    This is a common issue that NI LabVIEW does not address.
    The good news is that OpenG provides a function to do just what you need.
    See this article: Resize Front Panel to largest decoration
    The way to get the OpenG functions is to use the JKI VI Package Manager (VIPM).
    In addition to the OpenG functions there are several other community provided tools avaliable through VIPM.
    For a quick test, I'm attaching these files (LV version 2010 sp1):
    Fit VI window to Largest Dec__ogtk.vi and the required sub vi Current VIs Parents Ref__ogtk.vi.
    You should really use VIPM to get the full OpenG library - there are many gems in there.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    Fit VI window to Largest Dec__ogtk.vi ‏29 KB
    Current VIs Parents Ref__ogtk.vi ‏9 KB

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • Hello Guys. I had problems in the Computer before and changed my HD. I saved in my all files documents in (Time Capsule). How can I put all my files, pictures documents on my new HD? Please Help. Thank You

    Hello Guys.
    I had problems in the Computer before and changed my HD. I saved in my all files documents in (Time Capsule). How can I put all my files, pictures documents on my new HD?
    Please Help.
    Thank You
    Julio Skov

    Hey
    Thank you very much for replay.
    Would you explain to me how can I do?
    I don't really understand these processes.
    Thak you very much
    Julio

  • HT2486 How can you put same contact in a Group multiple times so that you can print the same mailing label multiple times?

    How can you put same contact in a Group multiple times so that you can print the same mailing label multiple times?

    Hello,
    Avery...
    https://discussions.apple.com/thread/2588943?start=0&tstart=0
    Or...
    http://www.belightsoft.com/products/labelsaddresses/overview.php

  • When I switch between calls, how can I put some mu...

    Hello.
    When I switch between calls, how can I put some music to the person that is wainting.
    I have a N70. And, frequently when I have a call somebody calls me. What I use to do is to put one of then in hold while I'm finishing one of the calls.
    I would like to put music playing to the person that is wainting/ is holding the call.
    Is it possible?
    Marco

    I don't think it's possible to keep sending audio while a call is on Hold.
    So I don't think you can do that.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • I delete the time machine in my desktop how can i put it back

    I delete the time machine in my desktop how can i put it back?

    Hi, please open the 3-bar menu > Customize, and if you can see the Home icon, you can drag it to a location of your choice > Exit Customize to save.
    This [https://support.mozilla.org/en-US/kb/how-to-set-the-home-page How to set the home page] article may also be of help.
    Hope that resolves your problem.

Maybe you are looking for

  • I need to connect my wireless printer (HP LaserJet CP1025nw color) to the internet.

    I need to connect my wireless printer (HP LaserJet CP1025nw color) to the internet.    I recently have changed my name and password of my modem.  Since the change I have lost connectivity between my computer and my printer.  What do I need to do to r

  • SPM Reporting - Log reports display on front end

    Hi, We have implemented GRC 5.3 and have an issue on the SPM reporting through the front end. We have done config in dev and have the following jobs running in the background every 1 hour: 1. /VIRSA/ZVFATBAK 2. /VIRSA/ZVFAT_LOG_REPORT 3. /VIRSA/ZVFAT

  • New processor FX-8150 doesn't fit socket AM3b

    Can anyone help with this? Bought an FX-8150 based on statement by AMD tech that it would fit my Hp h8-1234. I removed the old FX-6120 to find the socket to be an AM3b not the AM3+ expected. It looks like I could jerry rig it with wire ties or rubber

  • Shutting down macbook pro

    The shutting down of my macbook at times is hanging or takes long ever since I upgraded the operating system to Lion. I am forced to hold down the on button for some seconds to shut it down manually. What could be the course of this?

  • CWDM Question

    To to pick your brain i have 2 pairs of dark fibers between two datacenters. Dark fibers are terminating on 8 Port channel CWDM and have two pairs of catalyst 6509 switches connecting to the CWDM using 2 channels each at each datacenters. The connect