When does the tick count start

I see that the tick counter rolls over at 2^32 ms, that's 49 days.  So if the counter started when Labview or the VI starts, I would never care about the rollover. 
So when does it start?  Can I control when it starts?     I need a resolution less than 1 sec, so the second timers don't help me.
Also do other funtions or VIs continue to operate when a Wait (ms) function is running?

The tick count does not begin when you open LabVIEW or the VI. The on-line help says that the base time is undefined. There is however, no problem with you taking the tick count when you first start the VI and using that later in the VI. It's also untrue that the other time functions in LabVIEW only have 1 second resolution. They have the same millisecond resolution as tick count. If you have code in parallel with the Wait (ms) function, they will exeucte in parallel.
Also, in the future, post questions of this nature to the LabVIEW board. This board is for the NI counter/timer boards.

Similar Messages

  • HT1657 If I download a movie today, but will not be watching it for a few weeks (i.e. when overseas) - when does the 'activation' period start?  Do I have 48 hours from the download date or when I first watch the movie?

    If I download a movie today, but will not be watching it for a few weeks (i.e. when overseas) - when does the 'activation' period start?  Do I have 48 hours from the download date or when I first watch the movie?

    You have 30 days from when you download it, but when you then start watching it you have 48 hours (24 if your account is US based) to finish watching it before it expires.

  • When does the test time start? After installing the program? Or only after opening the program? background: I accidently installed the Photoshop test version, but O am still busy with testing Premiere Pro.

    when does the test time start? After installing the program? Or only after opening the program? background: I accidently installed the Photoshop test version, but O am still busy with testing Premiere Pro.

    Freialeben7 the evaluation period begins when you first launch the Adobe application you are wishing to evaluate.

  • When does the Runtime Service start up and down

    Hi,
    I'm really concerning when this service will be down by closing some applicaton. Like owb session, it will be shut whenever exit owb client or disconnect from OMB Plus. The session of run time owner start from Runtime Service is always there (can be seen from TOAD).
    Looking forward to your help,
    Thanks,
    Daming

    Daming,
    The runtime platform service is a Java-based program that is being invoked from within the database by a database job. As soon as you start the database the database job becomes active. Once the database shuts down, the runtime platform service goes down. The availability of the runtime platform service is totally unrelated to using the design client.
    If you want to explicitly stop and start the runtime platform serivce while the database is open, run <owb home>\owb\rtp\sql\stop_service.sql and <owb home>\owb\rtp\sql\start_service.sql respectively (connect using the runtime repository owner).
    Thanks,
    Mark.

  • Why is the Tick Count function slow when used with a .dll but fine with normal lab view code?

    when using the Tick Count millisecond timer with a .dll I've written in C, I'm getting some odd timing issues.
    When I code the function I want (I'll explain it below in case it helps) in LV and run it as a subVI, feeding it the Tick count as an argument, the function runs quickly, but not quite as quickly as I would like. When I feed this same subVI just an integer constant rather than the Tick Count, it takes about the same amount of time, maybe a tiny bit more on average.
    When I bring in my function from a .dll, however, I start to run into problems. When I feed my function an integer constant, it is much faster than my subVI written in LV. When I feel my .dll the Tick Count, however, it slows down tremendously. I'm including a table with the times below:
                 |  Clock   |   Constant   |
    SubVi:   | 450ms  |  465ms       |
    .dll         | 4900ms|  75ms         |
    This is running the function 100,000 times. The function basically shifts the contents of a 2-dimensional array one place. For this function, it probably won't be a huge deal for me, but I plan on moving some of my other code out of LV and into C to speed it up, so I'd really like to figure this out.
    Thanks,
    Aaron

    Hi Aaron,
    Thanks for posting the code -- that made things a lot clearer for me. I believe I know what's going on here, and the good news is that it's easy to correct! (You shouldn't apologize for this though, as even an experienced LabVIEW programmer could run into a similar situation.) Let me explain...
    When you set your Call Library Function Node to run in the UI Thread you're telling LabVIEW that your DLL is not Thread-safe -- this means that under no circumstances should the DLL be called from more than one place at a time. Since LabVIEW itself is inherently multithreaded the way to work with a "thread-unsafe" DLL is to run it in a dedicated thread -- in this case, the UI thread. This safety comes at a price, however, as your program will have to constantly thread-swap to call the DLL and then execute block diagram code. This thread-swapping can come with a performance hit, which is what you're seeing in your application.
    The reason your "MSTick fine behavior.vi" works is that it isn't swapping threads with each iteration of the for loop -- same with the "MSTick bad behavior.vi" without the Tick Count function. When you introduce the Tick Count Function in the for loop, LabVIEW now has to swap threads every single iteration -- this is where your performance issues originate. In fact, you could reproduce the same behavior with any function (not just TIck Count) or any DLL. You could even make your "MSTick fine behavior.vi" misbehave by placing a control property node in the for loop. (Property nodes are also executed in the UI thread).
    So what's the solution? If your DLL is thread-safe, configure the call library function node to be "reentrant." You should see a pretty drastic reduction in the amount of time it takes your code to execute. In general, you can tell if your DLL is thread-safe when:
    The code is thread safe when it does not store any global data, such as global variables, files on disk, and so on.
    The code is thread safe when it does not access any hardware. In other words, the code does not contain register-level programming.
    The code is thread safe when it does not make any calls to any functions, shared libraries, or drivers that are not thread safe.
    The code is thread safe when it uses semaphores or mutexes to protect access to global resources.
    The code is thread safe when it is called by only one non-reentrant VI.
    There are also a few documents on the website that you may want to take a look at, if you want some more details on this:
    Configuring the Call Library Function Node
    An Overview of Accessing DLLs or Shared Libraries from LabVIEW
    VI Execution Speed
    I hope this helps clear-up some confusion -- best of luck with your application!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • How long does a tick last for the Tick Count (ms) VI in LabVIEW?

    I'm trying to compare the timing performance between a VI implemented in LabVIEW and another VI implemented in LabVIEW FPGA module. If I use the Tick Count in both VIs (every one in their own module), I want to know how long does a tick last in LabVIEW standard (in the computer)?
    Thanks

    vitrion wrote:
    I have this doubt because I read that a tick lasts 55ms in the following source:
    http://books.google.com.mx/books?id=en1GKs2huTcC&pg=PA33&dq=tick+count+(ms)+labview+55+milliseconds&...
    My tick count provides me better results than the hardware results, which is impossible because this is the same algorithm. If I consider the 55ms time, then the FPGA is really faster.
                              Hardware          Software with                  Software with
                                  (ms)        1 ms Tick Count (ms)     55ms Tick Count (ms)
    Algorithm 1          49.48                   1.5552                               84.535
    Algorithm 2         0.8875                  0.032                                 1.87
    Algorithm 3         0.1756                  0.0241                               1.43
    Algorithm 4          0.27                     0.27                                   1.32
    What's your opinion?
    Thanks again
    I think you are misunderstanding what the value of a "tick" is.  From what I gathered from reading your link (which I couldn't get to from your post, but accidentally ran into on a search) a tick of the OS clock."  Curiously, though - why 55ms?  That was mentioned as the tick of a Win95/98 OS!
    I guess you can say that the it returns the value of the next "tick" of the OS clock and returns that value in ms.  So, the value of a tick varies from OS to OS.  In Windows 95/98, for example, you can only look at the OS clock every 55ms or so, but it still returns a value that represents ms.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • When does my AppleCare agreement start?

    If you buy an AppleCare agreement (from the online store) in the same order as, say, an iMac, but the computer doesn't ship right away, when does the agreement start? When the agreement is bought, or when the computer arrives and you register it?
    I bought one of the new iMacs recently,, and I also bought an AppleCare agreement in the same order. But since the machine was said to ship in 2-3 weeks, but the agreement was completed immediately, does this mean my agreement is already running even though I don't have the computer yet? If so, I'm losing out, aren't I? Meaning, since I bought the computer and agreement on November 30, but the computer won't get here until maybe 3 weeks after that, am I wasting part of the agreement time (from Nov. 30 until whenever the computer arrives)?
    Or does the term of the agreement not actually start until the computer gets here and I register it, even though I already paid for the agreement?
    Am I making any sense here? :)

    Just to make sure - when you get your machine, go here:
    https://register.apple.com/cgi-bin/WebObjects/GlobaliReg.woa
    and register your product (or check if it is registered already). When you get to where the date of purchase is displayed, make sure it is indeed the shipping date. If it is not, contact Apple and inform them of the discrepancy.
    As for the Apple care: your regular warranty is for one year with phone support for the first 90 days - the Apple care sort of runs concurrently because it covers any phone support for 3 years (technically, it adds 2 years to the original warranty) as well as hardware support of course.

  • How does the hit counter work?

    hi
    a while ago i made a web site with a hit counter on it
    i wrote the hit counter using php and a flat text file to store the number of hits
    i experienced a number of problems
    1. if someone visited the site more than once, the hit counter would go up each time they visited. this is not really desired as i really only want to know how many unique hits i get
    2. web bots and web crawlers would also make the counter go up
    does the hit counter that iweb generates suffer from this problem?
    how does it work - from total hits or only unique hits?
    does anyone know it web crawlers effect the counter?
    thanks!

    It is a hit counter and will register even when you visit the website.
    I found this annoying, so I ditched the iWeb hit counter and went to Bravenet and downloaded a visit counter instead. You can customise your design and can have a visit counter instead of a hit counter and you can also set it to ignore your own hits - so if you want to visit your site to see how it looks it won't register your hit. The hit counter will register each time and for every page, whereas a visit counter will just register the visit to the first page and then thats it. If you use Bravenet it will give you stats too.
    I am sure you can get hit counters and visit counters from lots of other sources though.

  • When does "Display sleep" time start?

    I've set my "display sleep" to anywhere from a couple minutes to over an hour. The problem is that the screen dims while I'm using the computer. Specifically, I'm usually playing online poker.
    My question is:
    When my Display Sleep is set to, e.g. 15 minutes, when does that 15 minutes start?
    It's obviously not starting when I click the mouse because I'm doing that a lot.
    I type on the keyboard once in a while. Does that start the clock?
    Okay, that's my only guess. Thanks for any help.
    Bruce

    I have an interesting related problem...I am running an IMac with a Thunderbolt display second monitor.  When the iMac dims prior to going to sleep, the Thunderbolt display does not dim with it.  Only when the iMac monitor actually goes to sleep, does the Thunderbolt monitor go to sleep with it.  It makes no difference if I make the primary monitor the Thunderbolt Display or the iMac's Display, either way only the iMac dims.  I would like both of them to dim together since it helps to keep the Thunderbolt display's life longer and it saves energy.  I am at a loss as to how to make it work.  Is there a bug?  I am runniing the latest version of Lion, and I have the lastest version of the iMac, which I just purchased in  July.

  • I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5. I am receiving an error problem when doing the following -  I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive whe

    Hi, I am having a little trouble with exporting images to another drive and Catalogue and need some help if anyone can give me some advice
    I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5.
    I am receiving an error problem when doing the following -
    I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive where a Lightroom Catalogue has been created. In this Catalogue I have arranged for the images once exported to be moved to a different folder - I used the Auto Import process under the File dialogue box.
    When processing the Export I receive an error message for each of the images being exported indicating the following -
    Heading Import Results
    Some import operations were not performed
    Could not move a file to requested location. (1)
    then a description of the image with file name
    Box Save As                                  Box  OK
    If I click the OK button to each image I can then go to the other Catalogue and all images are then transferred to the file as required.
    To click the OK button each time is time consuming, possibly I have missed an action or maybe you can advise an alternative method to save the time in actioning this process.
    Thanks if you can can help out.

    Thank You, but this is a gong show. Why is something that is so important to us all so very, very difficult to do?

  • ABAP Dump is encountered when doing the negative subsequent adjustment

    Hi Experts !!!
    An ABAP Dump is encountered when doing the negative subsequent adjustment (posting a 102 movt type) on a Purchase Order via the Z function module. The dump only happens if the scenario satisfies the following conditions:
    1.Material is either (but may not be limited to) 3000000234, 4000000121, 3000000210 (These are the only reported materials)
    2.Order unit in Purchase Order is in MT
    3.At 2nd weigh, Net Weight is less than PO Order Qty.
    Note: No error occurs if same process is done via MIGO.
    Initial Analysis:
    An exception/error occurs when calling function u201CMB_CREATE_MATERIAL_DOCUMENT_UTu201D .
    Please see below error anlysis report from after executin Zfunction module code.
    Error analysis
       Short text of error message:
       Material 3000000234 / US01 Column 0001: MSEG-BPMNG not in quantity table
       /not consistent
       Long text of error message:
        Diagnosis
            Before the system posts a material document for an HPM/TDP material
            (MARA-CMETH = 1 or 2), it performs the following consistency
            checks:
            o   For each unit of measure in the Unit of Measure Group
                (MARC-UOMGR), a line item  has to be present  in the additional
                quantity appendix table (Table MSEGO2)
            o   For each unit of measure in the main core table MSEG that is
                not initial a line item, has to be present in the additional
                quantity appendix  table (Table MSEGO2) and the corresponding
                packed format quantities have to be identical.
                This way, inconsistent stock level updates can be prevented.
        System Response
            The system stops processing.
        Procedure
            If the error is reproducible, contact your system administrator.
        Procedure for System Administration
            The inconsitency can have several reasons, for example:
            o   Incorrect postings from external systems using function module
                MB_CREATE_GOODS_MOVEMENT
            o   Handling errors
            o   Application programming errors
       Technical information about the message:
    Message class....... "O3"
    Number.............. 359
    Variable 1.......... 3000000234
    Variable 2.......... "US01"
    Variable 3.......... 0001
    Variable 4.......... "BPMNG"
    Please let me know,if you want some other details.

    Problem Issolved

  • WHEN DOES THE IPHONE 5 COMING OUT IN SOUTH KOREA?

    WHEN DOES THE IPHONE 5 COMING OUT IN SOUTH KOREA?

    When it is announced by Apple. No one here would know. Go to Apple.com and watch the press releases to see when it will happen.

  • Does the warranty count if my ipod touch get stuck on facebook sometimes and it just turned out to home page a lot

    Does the waranty count if my ipod touch get stuck on facebook sometimes and it turns to the homepage... And it get stuck if i click at the pictures...
    Pleasehelp me out...
    Thanks

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...

  • How and When Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized

    How and When  Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized. Do the actual trigger lines get measured or does the attribute get initialized to a default value when the vxi resource manager is executed?

    Hey whl6868,
    According to page 157 (or 3-135) of the manual (http://www.ni.com/pdf/manuals/370132c.pdf), there is no default value for VI_ATTR_VXI_TRIG_STATUS.  If Resman is returning valid values for it, then it must be actually reading the lines.  Else, I would only expect it to return valid values when you actually call the function yourself.
    Regards,
    David R
    Applications Engineer
    National Instruments

  • Move order number when doing the pick release

    hi everyone ,
    is there any way to specify the move order number when doing the pick release process
    i wante to passe the move order number to the pick release API procedure
    or is it possible to change it after doing the pick release
    best regards

    Uses MTL_TXN_REQUEST_HEADERS_S sequence to generate the move order number in, I believe, when-validate-item tirgger.
    Thanks
    Nagamohan

Maybe you are looking for

  • How do I find out where the link for a button points to?

    I installed a Flash template that has a "Read More" button which is used in several locations of the site.  The button corresponds to a single symbol called "button_more" and another symbol within that symbol called "area_more".  It's a "Movie Clip"

  • Cisco 3850 Switch and Windows 7 IP Conflicts

    Team, Last evening (Christmas eve) we setup a pair of Cisco 3850 with IP Base version 3.3.35SE (recommended) and 3.7.0E (very latest). We got these to replace a very old switch that had died. Attached to this network are windows 7 PC's with all the s

  • Reading IMSI in the GSM CARD.

    Sorry All ... but I stard a new topic on one of my old subject. Hi everybody ... Acutally I try to read the IMSI (serial number of a gsm sim card), I've moved to the JAVA 1.6 release, because AFAIK, the is the only version that support smartcard I/O.

  • Collecting Email Addresses in Dreamweaver

    I NEED HELP!!!! Can anyone PLEASE tell me specifically how I can create a f orm and collect email addresses. Actually I kinda know how to create the form, but my problem is once I create it, how do I view the email addresses that have been collected?

  • Declaring RemoteObjects in Cairngorm

    Hi all, I'm beginning with Cairngorm and Flex2. I understand quite good how to use Cairngorm, but I can't find how I may configure the RemoteObjects for Cairngorm. In the Services.mxml there are only logical links to the RemoteObjects, and the real d