How to create event driven timer

Hi everyone,
I'm using LabView 8 and wish to create a timer which starts when I press a control for the first time and shows time in milliseconds. The timer should stop and return to zero as soon as I press another control/Stop button or pass any condition to it.
Can anyone help around.
Looking for help,

As Mike said, you can't rely Windows to be accurate to the millisecond.  But if you are just using front panel Boolean switches to manually control the stopwatch then a few milliseconds here or there probably wont bother you too much.
If you're going to leave it running for days then you will need to consider that the value of the ms timer will wrap around to zero every 42 days (or something like that).
Troy
CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
Beware of the man who won't be bothered with details. - William Feather
The greatest of faults is to be conscious of none. - Thomas Carlyle
Attachments:
Stop watch.vi ‏92 KB

Similar Messages

  • How to create event based process chains

    Hi All,
    I would like to know about event based process chains. In connection to this, could you please answer the following queries,
    1. How to create events
    2. How to link created event to the process chain in the same BI or BW system and as well as from  
        externel BI system.
    3. How link one process chain with other process chain (i.e, After completion of one process chain, it
        should trigger other dependent process chain)
    Thanks and Regards,
    Kotesh.

    1). Doubt regarding first question.
    For example, i would like to create time based event (it should be trigger daily at specified time),
    where we have to maintain scheduling options while creating event.
    When i checked SM62 there i found only two options a). Event name and b). Description.
    Could please send any doucument link if you have.
    Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
    2). For externel BIW system also same procedure we need to follow or any difference.
    Ans : Externally you need to trigger the same event.
    3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
    Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
    I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
    Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
    But Metachain is preferred for such thing.Though it does similar thing.
    Hope this helps.

  • Creating Event driven process chain

    Hi all,
    In my scenario there are two chains in which
    1. First chain is normal chain, which we are using to
    load business data.
    2. Second chain will contain start variant and one ABAP
    program that will call first chain and this second
    chain is event driven.
    So can anybody send me relevant documents or
    information regarding how to create event? How to
    schedule process chain using event? and also how to call
    process chain using ABAP program?
    Thanks & Regards
    Ajinkya Deodhar

    Hi,
    Look into the following links:
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    Event collector:
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    Creation of Event:
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    Hope it hepls you

  • How to create Event Node in smartform

    Hi Experts,
    could you please tell me how to create event node in smartform
    Thanks in Advance,
    Thanks&Regards
    Geetha

    HI,
    plz explain your problem in deeply.
    And as per me you first create page and righ click on it
    Then create window as per your requirement.
    if you want to put condition ot events true or false Righ click on your window
    then goto flow logic -> Altenative
    You can found 2 events in Condition.
    So you can assign this events.If you want to put condition or event on test then goto Text here in General Attributes in bottom side you can find even on page.
    Try it.

  • How to Create Event polling table

    hi,
    1)How to Create Event polling table
    2) wahts RPD stands for.
    3) when we are prefer Dynamic variables.
    thanks.
    raj

    1) http://obiee101.blogspot.com/2008/07/obiee-managing-cache-emptyingpurging.html
    2) Repository Project Design ?
    - More than likely the extension RPD was not used by anything else when Siebel Analytics first started using it, no doubt the 'RP' is repository, so use 'Definition' or 'Design' as you like. Im pretty sure there is nothing in the documentation but i've not checked, maybe you could check and let us know?
    3) Dynamic variables would be something like 'CURRENT_MONTH' where the same query does not need to fire per user (ie SESSION variable) but needs to be periodically refreshed. Another use of you dynamic variable might be 'LAST_ETL_DATE' or somethng similar which might implement with your event polling table. By including the Variable within a Business Model, all cache for the Business Model is purged whenever the Variable's value changes.

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • Can't create events with times between 10:01 and 19:59

    I've recently updated to OSX 10.4.9, and now can't create events with times that start with a '1'. This only seems to be a problem on the day British Summer Time begins on 25 March.
    I usually create my events in the month view, and input the start and end times by clicking in the time boxes and typing in the hours and minutes. However when I try to put in a start time of, say, 11:00, it puts in 21:00 instead. The only way around this seems to be to put in a time it will accept, like 09:00, and using the arrow keys to move it to the time I want. Or creating the events in the day view and clicking on the start time there.
    Any ideas?

    Looks like you have found a wee bug. I can replicate it. You could report it though OS X Feedback or better though ADC, but for the latter you have to register first.
    I usually create events by double-clicking in week view; often this gets the start time right, but if not then edit the start time in the info pane. Your bug is there with events created in day and week views too.
    AK

  • How to create events in iCal

    I know we can create events (like birthdays, anniversary etc.) from address book and sync it with iCal. What i want to know is how do I create an event (b'day, anniversary etc.) for a person who is not in my address book.

    Greetings,
    Create the event (just like you would any event) and set the repeat to every year and add it to the calendar of your choice:
    Hope that helps.

  • Flash CS4 - how to create event flow from children to parents?

    In my opinion natural event flow direction is from children
    to its parants.
    E.g. when in dialog box buttons are pressed it is natural to
    inform only
    this dialog box about these actions. When dialog box can't
    handle particular
    event then passes it to its parent and so on .
    Unfortunately this direction is not well supported by Flash.
    To achieve
    support for this event direction it is necessary to call
    parent.dispatchEvent() with bubbling option off. This
    solution is
    inconvenient because sometimes I can't predict what event
    types will be
    triggered inside dialog components. Most likely there is no
    function to
    catch all events which have no defined handlers in dialog in
    order to be
    possible to pass them one level higher.
    Have you got any experience with building communication model
    between
    objects in Flash applications?
    Regards,
    Marek

    XML shema is basically an XML file. So u need to know how to create an XML,
    provided u know how the shema file should be.
    Creating an XML :
    http://forum.java.sun.com/thread.jspa?threadID=5181031&messageID=9705786#9705786

  • How to create event in Form Portlet ?

    I want to pass parameter from Form to Dynamic Page, but they don't have event so I can't pass parameter. How can I create event in Form ?
    Please hepl me.
    Thanks a lot.

    I think I already answered this question in the main Portal forum.
    Mick.

  • How to create Event for a BO

    Hi Experts,
    I am developing WF for tcode MD03, this transaction is used to create planned order.
    I need to trigger a WF to send mail when ever a Planned order is created using MD03 tcode.
    BUS2004 is the BO for Planned order, but this BO does not have any event linked to it. So my question is how to create a event to a BO.
    Also, I used BTE to create a Z function module, this FM is getting triggered whenPlanned order is created using MD03 tcode. Is it possible to trigger a WF using this FM?, If yes, how?
    Thanks in advance.
    Regards
    Balu

    Hi All,
    Thanks for your useful suggestion.
    I placed a breakpoint in the Z FM to check whether the created planned is updated in Plaf table when this FM is triggered. But i found that Plaf table is not updated when the FM is getting triggered.
    Do you still recommend me to go ahead and call the WF?
    Regards
    Balu

  • How to create event alert for particular column get updated

    Hi every one.... plz help me
    How to create oracle event alert when particular column is update. plz help me.... Acutually i need email alert when ever list price for an item column in pricing table get updated+... plz. Its urgent.

    Oracle Event alert is based on update of specific table and not on specific column in table.
    However you can create a trgigger on table which is based on updat of column. And in this trigger you can send a mail using plsql.
    HTH

  • How to create event for BOR BUS2009 Object ?

    How to create a new event for BOR BUS2009 Object ?

    Hi,
    Please create a subtype for BOR BUS2009, say Z_BUS2009 and include your custom characteristic entities like Events, Methods, Key fields etc and finally do delegation. After delegation, all your custom changes reflects in BOR BUS2009.
    Regards,
    Prasanth

  • How to create event/notification in SAP using PI.

    Hi there,
    How to create the event/notification in SAP that triggered by the PI system. Any suggestion appreciated.
    Thanks

    Hi Mistry
    You call a bapi to add the event message to SAP EM.
    Below an example:
    SAP EM ABAP - Calling a BAPI to create an Event Message in SAP Event Management - Code Gallery - SCN Wiki
    Best regards
    Eduardo Chagas

  • How to create event handler in project online

     how to create a remote event handler for project online...
    i want to create a event handler onprojectcreating using CSOM...need Help..

    Hi Abidulla,
    Here is a good post from UMT for you to start.
    http://www.umtsoftware.com/blog/2013/08/01/project-server-2013-remote-event-handlers/
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

Maybe you are looking for