Accuracy of the get timestamp function accuracy +/- 16 ms??

  I'm using the "Get Timestamp Function" in my vi to mark time in my file roughly every 30 seconds.  The problem I am seeing is that it seems sometimes it is 16 ms off.  Sooner rather than later.  Do I need to mix this with the get time in seconds function?  I would like consistant values in my file.
Thanks,
Chris
Message Edited by caunchman on 12-09-2008 03:28 PM
Attachments:
Cont Acq&Graph Voltage - Write Data to Spreadsheet File (CSV).zip ‏74 KB

Hi Chris,
this function is based on Windows timing functions and those only update each 16ms... So you cannot use this function to measure time in higher resolution than 16ms!
Some more thoughts:
- You have a deviation of 16ms after your mentioned 30s interval: that's an error of only ~0.05%. How accurate is the timing of your PC? How accurate (in terms of exact timing) are other processing steps of your program?
- Maybe Wiebes vi may help you...
Message Edited by GerdW on 12-09-2008 10:42 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • The "get info" function is broken in iTunes 10 (and in iTunes 9.2)

    *Steps to reproduce this iTunes BUG:*
    _Step 1._
    Edit some track info (the id3 tags) in a third party program.
    (I'm a DJ, so I'm using Serato Scratch Live http://serato.com/scratchlive to edit most tags)
    _Step 2._
    Select all tracks in iTunes and press cmd+I to for the "Get Info" dialog.
    _Step 3._
    Click the "OK" button in the "Multiple Item Information" dialog.
    *Expected Result:*
    iTunes scans through all the selected tracks and updates any info that has been change in the 3rd party program. (This is default behavior in iTunes 9.1.1 and below)
    *Actual Result:*
    iTunes will _no longer scan_ the files for updated info, it will only check if the files are still are available on disk.
    *Why this is such a big deal:*
    I get new music almost every day. All tracks need to go into the DJ software for BPM analyze and organization. Tracks will then be imported into iTunes and added to several smart lists for syncronization to my iPods. After this function was broken there is no longer an easy way to update my smart lists with the new tracks coming in.
    _Extra info:_
    Settings "*Keep iTunes Media Folder Organized*" & "*Copy files to iTunes Media Folder when adding to Library*" are turned off. I need to manage my media folders manually.
    +This iTunes issue is also logged with Serato Scratch Live Support:+
    http://serato.com/forum/discussion/340778

    turingtest2,
    *Workaround 1:*
    This is not productive, I do A LOT of tags in Serato ScratchLIVE (Have about 45.000 songs in my library constantly) I will take a long time just to try to remember what songs I tagged.
    *Workaround 2:*
    This is even worse, it takes even longer, and you'll most likely loose stuff like playcount, added to library tag will get screwed up etc...
    *Workaround 3:*
    Id love to see a script like this, I had a look at DougScripts, but no luck yet. (I'm no programmer)
    *Basically this is my problem:*
    I'm doing quite a lot of work on all of my files regulary. (at least twice a week: fridays before DJ gigs, sundays after, and a probably a few times during the week too.) In short, I go through my tracks in Serato Scratch Live, add the text "3 star" etc, to the comments field (Serato Scratch Live don't read the iTunes star ratings), fix any genre tags (got a pretty extensive systems for those) etc, then rescan in iTunes and add the iTunes star rating as well.
    Then there is smart lists in iTunes (based on star ratings, added date, genre etc.) that I sync to my iPods to keep updated on the go. This makes for a VERY efficient system for organizing the top tracks, and weeding out anything I don't want. (i will also do star ratings on the iPod on the go, re-sync to iTunes and add the to the comments field)
    If I had to find every track manually in iTunes after doing the "star" comment tag in Serato Scratch Live, it would defeat the purpose. I would never manage to get by. I mean, iTunes only need to check if the file itself has changed since last id-scan, then read any new tag.
    Even backup programs like Carbon Copy Cloner can go through 45.000 files in a snap, and only copy the altered ones, so why should it be so hard to rescan tags in iTunes?
    To top this off:
    I have loads of music ripped to my master archive (about 10.000 album cd's) So I'm always digging for tracks, rediscovering my collection. That's what DJ'ing is about I think, digging for the hidden gems. So yes, I'll never be done tagging all my songs, but at least if the rescan worked like it should, it would make my life "liveable"
    After 2 month of neglect Id like to hear anyone from Apple comment on this.
    Ive been using Macs for about 15 years, but this kind of thing is really disappointing.

  • The get messages function only works for the first account

    regardless of which account is listed in any order, the get messages button only gets messages for the first account in the list, thus if you are expecting one into another account you have to highlight that account and click the get messages....

    I have no idea what your talking about. Thunderbird has no apps.
    Perhaps your talking of add-ons. If you found an add-on perhaps you could mention what it is, so that I and other might know it exists.
    You appear to be under some misconceptions,
    !. Moderation is about answering questions. Wrong. Moderation is about deleting questions, editing comments that do not meet the guidelines for the forum and banning users.
    2. Searching add-on is someone elses job.
    3. Someone is getting paid to accept your criticism. I am not.
    If I as a fellow user an ignorant of an add-on then tough luck for those I advise. They should have been resourceful enough to search for add-ons before they asked the question. I can only tell people what I know.

  • Regarding the get pernr function

    Hi guys,
              Got to know that when we use get pernr it automatically checks for the autherization on pernrs to view data.
        Would like to know who all have access to see which pernrs? Can i get any ideas on this....
    Thanks in advance
    Abhi

    Triggers the associated events when data is read in an executable (type 1) program using a logical database.
    node is a node in the logical database that is assigned to the report (type 1 program) in the program attributes. You must declare the node in the report using the NODES statement (or the TABLES statement, if the node is of the type "table").
    The node node corresponds to a data object of the same name.
    node is available for processing during the flow of the logical database. Moreover, you can also make reference to the fields from the node that lie on the access path for node in the logical database associated with the report - unless the node is of the dynamic dictionary type.
    Notes
    You can use the event "GET dbtab." only once in the report.
    The GET events are implemented internally as FORM routines. This makes all data objects declared with DATA local, that is, they are only recognized and addressable within the event. This also applies to AT SELECTION-SCREEN ....
    The logic is somewhat different for nodes of the dynamic dictionary type. You must declare these nodes in the report using the NODES node TYPE type statement. In this case, type a dictionary type from the logical database for the node node - that is, the type of the data object node assigned to the node node can differ in different reports. In this case, the data object node is local to the -GET event and has the structure type. Outside the -GET event, a (global) data object node also exists and has the static type assigned to the node. The actual data is, however, returned in the local field node and is available only within the -GET event.
    Example
    The program uses the logical database F1S which has a structure where the table BOOKING appears below the table FLIGHT.
    NODES: SFLIGHT, SBOOK.
    GET SFLIGHT.
      WRITE: SFLIGHT-CARRID,
             SFLIGHT-CONNID,
             SLFIGHT-FLDATE,
             SFLIGHT-PLANETYPE.
    GET SBOOK.
      WRITE: SBOOK-BOOKID,
             SBOOK-CUSTOMID,
             SBOOK-ORDER_DATE.

  • I can't use the 'Get info' function.  Info box is blank

    I am trying to change data for multiple songs.  An empty box is on the screen 'Multiple Item Information'

    Tools > Options > Content : JavaScript > Advanced > Allow Scripts to: [X] "Disable or replace context menus"

  • How do I notify Apple of a software failure:  in Win 7 64 bit, using Get Info function causes iTunes 10.5 to fail and exit?

    I have Win7 64 bit running iTunes 10.5. When I import a CD and click on the "Get Info" context menu item for the CD drive item on the left side of the window, the expected context menu and input boxes appear. When I type anything into any of the available input boxes, iTunes immediately throws a fail exit to Windows. Here are relevant screen shots:
    Right click on CD Device item to get context menu:
    Click on Get Info menu item to open CD Info window:
    Key in "A" in Artist input box, get immediate failure:
    So far Microsoft hasn't notified me of any solutions to this failure.
    This info needs to get to Apple, but I am not paying to give them information to fix their problems!
    Thanks for passing this along.
    D. V. Hirst
    PS:  As a work around, I can highlight the entire CD worth of tracks and edit the common information in the Get Info function at that level...  Still, iTunes should not be throwing program failure exceptions in any case.  It is especially annoying on such common functions.  One might have expected a more thorough testing program prior to general release.
    DVH

    Thanks for your response. I attempted to do that, but I couldn't find any way to access the configuration for the Zhone router. Typing the IP address into my web browser's address bar only resulted in "page could not be found" or "page timed out", etc. I called tech support at Northstate, who likewise suggested that the Zhone router should be set to bridge mode and the AEBS set to router mode since it would be easier for me to configure the AirPort. After wrangling a bit with them over my inability to change any settings for the Zhone, they sent a technician over. He messed around with the Zhone, apparently putting it in bridge mode, and we managed to get the AirPort to work without any double NAT errors. I reset the AirPort and created a new configuration file. Unfortunately, when I went to the Advanced/Port Mapping menu and repeated the original steps to forward port 7777, tests at www.whatsmyip.org still returned "timed out". The technician said he wasn't knowledgable enough about Apple products to assist me any further and suggested I call their tech support or visit the nearest Genius Bar. So that's about it. Any other ideas?

  • "Get  Info" function is very slow

    I have a 24" iMac (2.8 ghz core 2 duo, 4GB Ram) running 10.6.3. Anytime I select a file and choose "Get Info" from the right click menu, I get the dreaded spinning beach ball for approx 10 seconds before the file's info window is displayed. On this same computer using Leopard, the "get info" function always worked nearly instantaneously. Has anyone else experienced this or am I taking crazy pills?

    Hello jin,
    I check with my colleague from onsite there this is working fine with my login issue.
    If i want to work on i have to connect through VPN only,
    I want to know is there any problem with Java version, Plz guide me what to do?
    Thanks
    Santhosh V

  • How XAI implements 'get more' function in CC&B pages

    Hi all,
    There is a 'get more' button in CC&B page if you list more than 50 records, just clicking the button when I wanna get last records , but how should i implement the same function by XAI, I have researched much time about this issue and gotten nothing. so had Anybody here encounterd the same issue? and have solved it?
    any help would be appreciated.

    The get more function works in the browser becuase there is a seperate "list" servlet which retrievs the data. It relies on certain HTTP context data for correct operation. Unfortunately the "get more" function is not supported by the XAI Servlet (it does not about the HTTP context data). Your only option is to roll your own paging mechnaism for the data you require.
    The pattern goes likes this...
    1. Work out the SQL for what you want to paginate
    2. Create a new "List Service" class that will act as the underlying service
    3. Annotate the service with inputs which include the page size, and the page number you want to retrieve
    4. Annotate the service with a list data that will be returned
    5. Use the page size and page number to create and execute the query and build the return result
    6. Register the service as an XAI Inbound Service
    7. Deploy the code
    8. Test using Dynamic Submission
    eg. Here is an example of Get More for Lookup Values....
    import com.splwg.base.api.BusinessEntity;
    import com.splwg.base.api.SimpleEntityList;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.ListBody;
    import com.splwg.base.domain.common.lookup.LookupField_Id;
    import com.splwg.base.domain.common.lookup.LookupValue;
    import com.splwg.base.domain.common.lookup.LookupValue_Id;
    import com.splwg.base.support.service.metainfo.ListBodyField;
    import com.splwg.shared.environ.ServiceListConstant;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author edhoi
    @ListService (name = CmGetMoreListValues, size = 10000, program = CMLGETMRL, service = CMLGETMRL,
    * body = @DataElement (contents = { @DataField (name = COUNTER)
    * , @RowField (entity = lookupValue, name = lookupValue)}),
    * headerFields = { @DataField (name = ELEM_SIZE)
    * , @DataField (name = FIELD_NAME)
    * , @DataField (name = FIELD_VALUE)})
    public class CmGetMoreListMaintenance extends CmGetMoreListMaintenance_Gen {
         private static final Logger LOG = LoggerFactory.getLogger(CmGetMoreListMaintenance.class);
         @Override
         protected ItemList<DataElement> readList() {
              // Call CmGetMoreBusinessComponent
              CmGetMoreBusinessComponent cmGetMoreBusinessComponent = CmGetMoreBusinessComponent.Factory
                        .newInstance();
              LookupField_Id lookupField_Id = new LookupField_Id(getHeader().get(
                        CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_NAME));
              LookupValue_Id lookupValueId = new LookupValue_Id(lookupField_Id,
                        getHeader().get(
                                  CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_VALUE));
              BigInteger pageSize = getHeader().get(
                        CmGetMoreListMaintenance.STRUCTURE.HEADER.ELEM_SIZE);
              LookupValue lastValue = lookupValueId.getEntity();
              List<LookupValue> values = cmGetMoreBusinessComponent
                        .getLookupValuePageData(lookupField_Id, lastValue, pageSize
                                  .intValue());
              long count = cmGetMoreBusinessComponent
                        .countLookupValues(lookupField_Id);
              if (values.size() > 0) {
                   lastValue = values.get(values.size() - 1);
              } else {
                   lastValue = null;
              ItemList<DataElement> itemList = new ItemList<DataElement>(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.name);
              ListBody listBody = itemList.newListBody();
              listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.COUNTER, new BigInteger(
                        Long.toString(count)));
              if(lastValue != null) {
                   listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.FIELD_VALUE, lastValue.getId().getFieldValue());
              for (LookupValue value : values) {
                   DataElement listElement= itemList.newDataElement();
                   listElement.addRow(value.getDTO());
              return itemList;
         @Override
         protected void afterPopulateList_CmGetMoreListValues(
                   ItemList<DataElement> targetList, SimpleEntityList sourceList,
                   BusinessEntity sourceListParent) {
              // TODO Auto-generated method stub
              super.afterPopulateList_CmGetMoreListValues(targetList, sourceList,
                        sourceListParent);
    }

  • Question about the accuracy of the Gaussian Fit

    Hi all,
    I was having some doubts on the accuracy of the gaussian fit performed by LabVIEW and implemented the code in attachment to test it.
    I made a distribution and made a Gaussian fit to it and extracted the average and standard deviation.
    Then, I used the same distribution and padded it with zeros to the left and right and did a gaussian fit to the overall distribution.
    I was expecting the average to change but the standard deviation to be the same, since the difference in the distribution are the zeros...
    The thing is that neither the average (the average is a fractional value) nor the standard deviation are the expected.
    Any hints on why this may be happening?
    Thank you very much in advance!
    Best regards.
    Attachments:
    gauss_fit_test.zip ‏17 KB

    Your data is NOT a Gaussian and fitting it to a Gaussian is thus completely meaningless. As Lynn said, the lower graph adds a sigificant amount of zeros to the dataset and thus will bias the fit.
    You can do a "not_equal_zero...boolean_to_0,1" on the y data and wire it to the weight to disregard all zero values. Now you get the same result.
    You should actually change the parameter bounds to allow for a fit of the offset, and you'll see that the upper graph will have a lower offset (offset=-3.6) compared to the lower graph (offset=-0.5). Since you are forcing the offset to be zero, the fit will compensate by changing the width.
    What are you actually trying to achieve with this exercise? If this simulation is similar to your real data, maybe you should fit it to a triangle function instead. If you just want to calculate the mean and standard deviation of the data, use the classic statistics tools. Does this represent a histogram of some data?
    LabVIEW Champion . Do more with less code and in less time .

  • Data accuracy on the aggregates operations report

    Hi,
    I am facing the issue Please help me in solving this issue.
    when user was reviewing the data for accuracy on the Aggregates Operations Report
    and found some discrepancies.  This is for plant 3001 (Carden) for March.user got the data as
    57,051 from the COIO transaction in SAP and from the Inventory Movement
    report in BW under production receipts, but on the Aggregates Operations
    report for extracted there is only 30,840.  The surge material in question
    is the amount that should show up in extracted tonnes on the AOR report.
    user has tried  running different reports but can't figure out why the
    difference.  Also, the Net Processed Volume and Aggregates processed are
    also incorrect.  The amount Net Process Volume should the total of material
    9050 (6,313 tonnes), 9061 (35,429 tonnes), 9094 (3,045 tonnes), and 9106
    (10,628 tonnes), and for Aggregates Processed will be the same except not
    including 9094.
    Thanks,

    Hi Lalitha,
    From what I could undersand, one SAP report and 2 BW reports are being mentioned in your question.
    The SAP transaction COIO and the Inventory Management report in BW are showing the same value. The AOR report is showing a different value for the plant 3001.
    Please check the following:
    1) How are the key figures (like Net Processed Volume and Aggregates processe ) computed?
    2)  What fields from R/3 are used for this computation?
    The reports within BW are showing a difference, which means the sources and data flow have been taken differently. So just analyze if the design in the back-end i.e. modeling is done based on any functional specifications given by the Business if so that can be your justification.
    If this doesn't help you, you might have to give some more details of your problem.
    All the best!
    Regards
    Sudeepti

  • How can i convert the firefox-history-timestamp in places.sqlite into a normal date format? The firefox-timestamp is not equivalent to the unix-timestamp, that's why I ask. I could not find a conversion function. Does anyone know something about this?

    As I opened the places.sqlite with an sqlite-editor I found out that firefox saves the last_visit_date via a timestamp which is 16 digits long. I realized that the first 10 digits are similar to the corresponding unix-timestamp but not equal. So.. how can i convert the firefox-timestamp into a normal date? Or into the corresponding unix-timestamp?

    Write a bash script or 'C' program to change the date format and then use the sql update function to receive the stdio output 'where date_field='embeded date value'.

  • Ok, so I transferred my 3S info to my 4S by restoring from an old phone backup.  But SIRI is gone and god knows what else??  Can I get my old stuff into the new phone and keep the 4S new functionality?

    ok, so I transferred my 3S info to my 4S by restoring from an old phone backup.  But SIRI is gone and god knows what else??  Can I get my old stuff into the new phone and keep the 4S new functionality?

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • Safari question here... Can I purchase a browser update for my mac book? I have OSX 10.6.8 and the "update softdate" function won't let me get past Safari 5.1.10. Please tell me I don't need a new computer just yet... Thx!!

    Safari question here... Can I purchase a browser update for my mac book? I have OSX 10.6.8 and the "update software" function won't let me get past Safari 5.1.10. Please tell me I don't need a new computer just yet... Thx!!

    You need to upgrade OS X.
    Upgrading to Yosemite
    You can upgrade to Yosemite from Lion or directly from Snow Leopard. Yosemite can be downloaded from the Mac App Store for FREE.
    Upgrading to Yosemite
    To upgrade to Yosemite you must have Snow Leopard 10.6.8 or Lion installed. Download Yosemite from the App Store. Sign in using your Apple ID. Yosemite is free. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
        OS X Mavericks/Yosemite- System Requirements
          Macs that can be upgraded to OS X Yosemite
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
    You can purchase Lion at the Online Apple Store. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.

  • The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.

    My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.

    Sorry i mistakenly made this question. It was alright. No Problem At ALL

Maybe you are looking for

  • Move PSE 8 catalog and all related file to external drive.

    All my photos are on an external drive.  I would like to be able to move back and forth from desktop to laptop and have all my catalogs, tags, etc in order.  I am running Windows XP and PSE 8 (when it does not crash).  thanks for this forum and your

  • Http 500 internal server error after creating site collections

    I am facing the http 500 error when I browse any SharePoint 2013 site except central admin site. Details of the error in trace log are: -MODULE_SET_RESPONSE_ERROR_STATUS  ModuleName SPWindowsClaimsAuthentication Notification 2 HttpStatus 500 HttpReas

  • ASO cache problem with Windows 7

    I have a large base of AS2 classes that support my application.  I've been working on it for a few years and I'm very familiar with the ASO cache problem that causes edits to not be compiled.  Well, I hit it today and I can't get rid of the old files

  • Adobe Document Services URL problem

    Hi, I am trying to connect to the adobe document services to test the configuration, but getting the following kind of error: "Adobe document service can not be started". can somebody tell me how to resolve this? Thanks, Sunita.

  • Header discount

    Dear friends                   i have created a manual  header discount condition type HB00, after  giving manually it will split the discount value to each line item based on weight of material ,but i want the amount should be distribute equally to