Higher precision of timestamp when wrinting to txt

Hello,
I would like to have a higher precision (--->miliseconds) of the timestamp when saving waveforms to .txt. Labview only prints the date and the time in HH:MMS. As I am acquiring data with a rate of 1k, 1000 data values have the same time description in the .txt-file.
Note: This problem only occurs when writing to .txt, it is no problem to get a higher precision by using the graph or the chart. 
Any help or suggestions would be appreciated.

Thanks so far.....
Maybe I was not precise enough. What I am looking for is the opportunity to easily manipulate the format of  the timestamp, which comes with my data and then write it to .txt. I already used the "Format Date/Time String"-VI to get the time with the miliseconds part and joined this time information with the data of the waveforms, which I also had to extract from the waveforms before, afterwards, but I thought there would be a more elegant way, because if I can extract the ms-part from the timestamp it must have been in it before, right ? ;-) So why can´t I tell Labview to also display the ms-part, when using the "write waveforms to .txt"-VI? I attached a .txt-file with a short excerpt of data, which should visualise the problem.
Regards
Message Edited by Marauder on 03-10-2006 03:20 PM
Attachments:
data_with_same_timestamp.txt ‏10 KB

Similar Messages

  • Is there a way to view timestamps in DIAdem with a higher precision than 100 microseconds?

    I understand DIAdem has limitations on viewing timestamps due to DateTime values being defined as a double value and that this results in 100 us resolution.  Is there any way to get around this?  I am logging time critical data with timestamps from an IEEE 1588 clock source and it is necessary to have higher resolution.  Perhaps I could convert timestamp to a double before logging but then would have to convert it back in Diadem somehow...
    Thanks,
    Ben

    As you said, DIAdem can only display up to 4 decimal positions on a timestamp. Timestamps in DIAdem are recorded as the number of seconds since 01/01/0000 00:00:00.0000. To achieve a higher precision, it would be necessary to use a relative timestamp. Many timestamps are defined from different references anyway, so it might be possible to import the timestamps as numeric values to maintain their precision. Converting the timestamp prior to importing into DIAdem seems like a viable method of working around the precision limit.
    Steven

  • Format precision apparently ignored when using read from spreadsheet file

    I hope there is ridiculously simple solution to this problem but so far I can't find it. Using the Read from Spreadsheet File function in LabVIEW7.1, I can't get the floating point format (%f) to work; the decimal (%d) seems to work fine. For example, the first value in the attached file is 399.5853. When I read it in using %.2f format I would think I should get 399.58 but instead I get 399.58529663... Oddly if I use %d as the format, I get an as expected value of 399. Can anyone see what I am missing?
    Attachments:
    ReadFileTEST.vi ‏23 KB
    test.txt ‏1 KB

    The solution to the problem is the internal representation of floating point numbers: with a limited number of bytes only a limited number of the (infinitely many) real numbers can be represented. The nearest representable number to 399.5853 is 399.58529663 if the so-called single precision representation (abbr. SGL in Labview) is used.
    It seems that (ridiculously!) NI has chosen to use SGL as the data format in the Read from Spreadsheet VI which causes the unexpected behaviour you observed.
    You can change the representation from SGL (which uses 4 bytes) to DBL (double precision, using 8 bytes) in the Read from Spreadsheet VI and you will observe a better approximation then, but still not 'exact' since the number now reads 399.585300000000018. (With t
    he EXT representation, 10 bytes, you could go to even higher precision)
    I hope someone from NI reads this and they fix the unnecessary limitation of the precision in the Read from Spreadsheet VI.

  • FYI - High precision data issue with sdo_anyinteract on 11.2.0.3 with 8307

    For anyone that may happen to be experiencing issues with SDO_ANYINTERACT on 11.2.0.3 with high-precision geodetic data, I currently have a service request in to fix it.
    The issue we have is with locating small polygons ("circles" from 0.5"-4") in the 8307 space. The metadata we have specifies a 1mm tollerance for this data, which has worked fine since (as I remember) 10.1. Support verified it works fine up to 11.2.0.2, then is broken in 11.2.0.3.
    So if you are pulling your hair out - stop. ;-) The SR# is 3-5737847631, and the bug# (will be) 14107534.
    Bryan

    Here is the resolution to this issue...
    Oracle came back and said what we have at that tolerance is unsupported and we were just lucky for it to have worked all these years. They are not going to fix anything because it technically isn't broke. We pointed out that the documentation is a little unclear on what exactly supports higher precision, and they noted that for future updates.
    When asked if they would entertain a feature request for a set of high-precision operators (basically the old code) in future release - they basically said no. So for the few items that we much have higher precision - we are on our own.
    What still makes us puzzled is that apparently no one else is using high-precision data in lat/lon. Amazing, but I guess true.
    Anyhow, here is what we used to use (up to 11.2.0.3) which worked fine at a 1mm tollerance:
    Where mask_geom is:
    mask_geom      :=
             sdo_geometry (2001,
                           8307,
                           sdo_point_type (x_in, y_in, 0),
                           NULL,
                           NULL);
    SELECT copathn_id
      INTO cpn
      FROM c_path_node a
    WHERE     sdo_anyinteract (a.geometry_a2, mask_geom) = 'TRUE'
           AND node_typ_d = 'IN_DUCT'
           AND ROWNUM < 2;Basically this finds indexed geometry and compares it to a single mask geometry (a simple point for the x/y given). Only one row is returned (in case they overlapped duct openings - not normal).
    Since this no longer returns any rows reliably for items less than 5cm in size, here is our work-around code:
    SELECT copathn_id
      INTO cpn
      FROM (  SELECT copathn_id,
                     node_typ_d,
                       ABS (ABS (x_in) - ABS (sdo_util_plus.get_mbr_center (a.geometry_a2).sdo_point.x))
                     + ABS (ABS (y_in) - ABS (sdo_util_plus.get_mbr_center (a.geometry_a2).sdo_point.y))
                        distdiff
                FROM c_path_node a
               WHERE sdo_nn (a.geometry_a2,
                             mask_geom,
                             'distance=0.05 unit=m') = 'TRUE'
            ORDER BY distdiff)
    WHERE node_typ_d = 'IN_DUCT'
       AND ROWNUM < 2;Essentially we use sdo_nn to return all results (distance usually is 0) at the 5cm level. At first we though just this would work - then we found that in many cases it would we return multiple results all stating a distance of 0 (not true).
    For those results we then use our own get_mbr_center function that returns the center point for each geometry, and basically compute a delta from the given x_in,y_in and that geometry.
    Then we order the results by that delta.
    The outer select then makes sure the row is of the correct type, and that we only get one result.
    This works, and is fast (actually it is quicker than the original code).
    Bryan

  • Render in 8-bit YUV or Render all YUV material in high-precision YUV

    Friends,
    I'm a wedding videographer and I work with the mini dv cams PD150. In a particular work I will have a lot (I mean a LOT) of color correction to do, this way, should I work my sequence with the setting Render in 8-bit YUV or Render all YUV material in high-precision YUV ?
    Thanks again!!!

    I read your commentary:
    "Selecting this option does not add quality to clips captured at 8-bit resolution when output back to video; it simply improves the quality of rendered effects that support 10-bit precision."
    So, 3 Way Color Corrector is a effect that support 10-bit precision? If I use "Render all YUV material in high-precision YUV" will the video look nicer?
    Thanks again

  • High precision YUV

    I shoot DV SD PAL 8 bit. I put two or three filters on a clip. Does those effects will better looking when I run High precision YUV instaed of 8 bit YUV. The final output is DVD. Or can this make thing worse when running High YUV. Render time does not matter.

    But in Apple manual says:
    "This is the highest-quality option for processing video in Final Cut Pro. This option
    processes all 8- and 10-bit video at 32-bit floating point. In certain situations, such as
    when applying multiple filters to a single clip or compositing several clips together, a
    higher bit depth will improve the quality of the final render file even though the
    original clip has only 8 bits of color information "
    To me it mean I will get better result or... ?

  • Can i use a 2nd iphone if i install itunes on another user account.when i tried to create a second library i messed up both phones, the second one now has all my contacts and when it sends txts it either says its my other phone or email address

    can i use a 2nd iphone if i install itunes on another user account.when i tried to create a second library i messed up both phones, the second one now has all my contacts and when it sends txts it either says its my other phone or email address. i can cope with the first phone and getting it back on itunes but dont want to syn the 2nd phone until i know it is independant of the other one. Does it matter that both phones use the same itunes store account?

    Deleting the account on your phone only removes if from your phone.  The account and it's data remain intact and doing so will not effect your daughter's phone.
    To do this, first go to Settings>iCloud on your phone and turn any synced data (contacts, calendars, etc.) to Off, and when prompted, choose to keep the data on the phone.  When finished, scroll to the bottom and tap Delete Account.  Then set up a new iCloud account with a different Apple ID and turn any data you want to sync with iCloud (contact, calendars, etc.) back to On.  This will upload your data to your new iCloud account.

  • Getting extra line after each record when opening a .txt file in excel

    Hi All,
    I have developed a program which downloads a file at application server.
    each record of file is 500 characters long & have CRLF at end.
    the file looks fine when opened in .txt format.
    however when i download it from application server to presentation server (using function "download to my computer"), & at presentation when i try to open it in excel format, it shows a blank line after every record.
    i don't want this blank line to appear if i download it & open it in excel.
    the file record is declared as char500 type.
    Please suggest how to deal with this.
    thanks in advance.
    Regards,
    Puja.

    Hi Puja,
    Check the file in the application server whether it has any gaps between the lines.
    Or else as you said if the file looks ok in .txt format, download the file in .txt and open the same file in excel (i.e. open with excel)
    Hope this sloves your problem.
    Regards,
    SB.

  • Request for info on fatal error handling and High-Precision Timing in J2SE

    Hi
    Could anyone please provide me some information or some useful links on fatal error handling and High-Precision Timing Support in J2SE 5.0.
    Thanks

    Look at System.nanoTime

  • FCP6 any problem using "Render in 8-bit YUV" instead of "Render 10-bt material in high-precision YUV" video processing

    I have a long and complex 1080p FCP6 project using ProRes442.  It is made up of mostly high resolution stills and some 1280i video clips.  Rendering has  laways been anightmare.  It takes extremely long and makes frequent mistakes whch have to be re-rendered.   Just today, I discovered the option of selecting  "Render in 8-bit YUV" instead of "Render 10-bt material in high-precision YUV" video processing.  The rendering time is cut down to a fraction and even on a large HD monitor I can tell no difference in quality.  I am getting ready to re-render the entire project in 8-bit and just wanted to check if changing to 8-bit would pose some problems and/or limitations that I'm not aware of.  This is not a broadcast or hollywood film thing. But it does represent my artwork and I burn it to bluray so i do want it to look good.  Lke I said, I can tell no difference between the 8-bit and 10-bit color depth with the naked eye.  Thank you all for all the help you have always given me with my many questions in the past.

    Unless you have a 10bit monitor (rare and very expensive) you can not see the difference as your monitor is 8 bit.
    10 bit is useful for compositing and color grading. Otherwise, 8 bit it fine for everything else.
    x

  • Why is it that I'm lacking cpu power when I'm doing high tasking things but when i run a dinky little game it decides to use all the power possible?

    why is it that im lacking cpu power  when I'm doing high tasking things but when i run a dinky little game it decides to use all the power possible? its like when i need it its not there and then when i dont its there?

    Check here
    http://support.apple.com/kb/PH10900http://support.apple.com/kb/PH10900

  • Quick for timestamp when naming a file in save dialog?

    I would like to be able to add a timestamp when naming a file in the save dialog. The reason is that it will give me a quick way to name a file when the rest of the file name I have entered might conflict with a file of the same name.
    Is there a quick key combo that would does this?
    Thanks.
    Matt

    I found another solution elsewhere.

  • Capturing Timestamp when Status Changes in a SharePoint 2010 List

    I've created a Risk/Issue/Decsion Log (list) in SharePoint 2010.
    I need to capture the date/timestamp when an item changes from 'Open' to 'Resolved' Status and also when the status changes from 'Resolved' to 'Closed'.
    I'm using the default 'Created' field to capture when the item is created and the 'Open' status is selected. I've already created 2 more fields in the list to capture when the status changes from 'Open' to 'Resolved' Status and also when the status changes
    from 'Resolved' to 'Closed'. I just need help with how to automatically capture the date/timestamp in those fields.
    I would greatly appreciate the help.
    Thanks!

    Hello,
    As i understand you want to capture date based on status column value. You can create two text calculated column, one for resolved and second for closed.
    Now use below formula in open calculated column:
    =IF(Status="Resolved",TEXT(NOW(),"dd/mm/yyyy hh:mm"),IF(ISBLANK(Status),"","NULL"))
    Then use below formula in closed column:
    =IF(Status="Closed",TEXT(NOW(),"dd/mm/yyyy hh:mm"),IF(ISBLANK(Status),"","NULL"))
    Hope it could ehlp
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How come when i copy txt left aligned indesign keeps on pasting the txt right aligned?

    I had to use a indesign english-arabic for a while (turned back to english international afterwards). Ever since i did that when i copy txt left aligned indesign keeps on pasting the txt right aligned. it is mind boggling & very annoying. i've put all my prefs back to my regular dutch setting, but even when i past with a paragraph style left aligned it keeps on putting it right aligned... Help.

    wmodist wrote:
    but the i loose all my styles...
    It should paste with wahtever style is assigned at the insertion point when you paste without formatting... Pasting formatted text is going to bring all the formatting (including what will become local overrides) with it.
    Is your text showing the + sign to indicate a local override of the style? If it is you can clear the overrides after pasting.

  • I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    Doh! Rectified flash!
    But when face timing 2 seconds after it connects wifi disconnects? Any thoughts

Maybe you are looking for