Can I create a time stamp of 2ms or 1ms resolution in a text file

I have trouble creating time stamps in text files that have 2ms resolution. Although my timed loop in LV 7.1 is running the code at 500 Hz without any late iterations, and I record all the data points in the data file, the time stamps are the same in ms range for 5 consecutive points, i.e 10ms resolution. I would like the time stamps to have a 2ms resolution, where each data points every 2ms should show a different milisecond time stamp.
I am trying to do this to be able to show exact 2ms-time stamps for each data sample from 1 digital input line sampled at 500 Hz using NI-DAQmx 7.2. So far I have been using "Get/Date Time in Seconds" and "Format Date/Time String" to display the time stamp in the milis
econd range.

Use the Tick Count (ms) function. Call Get Date/Time in Seconds when you start to get time of day. Also call the Tick Count (ms). After acquiring each point call Tick Count (ms) again and subtract from the starting tick count. Then add this to the starting Time in Seconds value (with appropriate scaling). The result is your timestamp.
Another approach: If you are using hardware timing for the 500 Hz acquisition, each sample is automatically 2 ms after the previous one. Record the start time and add 2 ms for each sample.
Lynn

Similar Messages

  • How can I get a time stamp on text message without turning on "read"???

    How can I get a time stamp on text message iPhone 5 IOS 7? (Without having to send read receipt)

    You can make the "Visit Date" column visible in the Bookmarks Manager (Library) via "Views > Show Columns"
    * Bookmarks > Organize Bookmarks
    *http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox

  • How can I turn off time stamp

    How can I turn off time stamp when packaging .air file

    Have you tried:
    ADT <other args> -tsa none

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How can i add a time stamp to tdms file?

    I want the data and the time for the tdms file generated?
    how can i do that?
    should i cinvert .tdms to .lvm and use the data storage option or excel add on option for .lvm file created?
    cant i directly have the time stamp for tdms file generated?

    How are you acquiring the data in the first place?  That will matter in how we want to approach this.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • CAN I CREATE A TIMER IN PL/SQL?

    Hi everyone!
    I have a project that needs to run my stored procedures on the
    server side on a scheduled basis. e.g. every Monday at 3PM.
    I wanted to find out if I could possibly create a timer using a
    procedure in PL/SQL (not in forms) and store it also on the
    server side, so whenever it's the right day and time, it will
    just call the other procedures and perform whatever task it
    have. How will I create it? Do you know what function I could
    use? I don't want to use a PRO*C tool.
    All responses will be gladly appreciated.
    Krishna
    null

    Hi Sreekumar,
    Thanks for the response. Since you offered that you could help
    me by giving an example, I would like that idea. Could you show
    me how to use the DBMS_JOB?
    Thanks again.
    Krishna
    Sreekumar Thammineni (guest) wrote:
    : Hi,
    : Oracle's Built in Package DBMS_JOB will help you.
    : Using this package you can submit a job on a recurring basis.
    : Which is similar to a when-timer-expired trigger in FORMS.
    : Go thru the documentation of Built In package.
    : You will get an Idea.
    : For any further clarification, I can help you out with an
    : example.
    : bye
    : Sreekumar
    : Krishna (guest) wrote:
    : : Hi everyone!
    : : I have a project that needs to run my stored procedures on
    the
    : : server side on a scheduled basis. e.g. every Monday at 3PM.
    : : I wanted to find out if I could possibly create a timer
    using
    : a
    : : procedure in PL/SQL (not in forms) and store it also on the
    : : server side, so whenever it's the right day and time, it
    will
    : : just call the other procedures and perform whatever task it
    : : have. How will I create it? Do you know what function I
    could
    : : use? I don't want to use a PRO*C tool.
    : : All responses will be gladly appreciated.
    : : Krishna
    null

  • Creating a time stamp in the graphic, NOT the file name.

    InDesign has a variable feature that allows you to autogenerate certain kinds of text. I've been trying to find a way, if there is one, to do the same thing in Illustrator. At the very least I'd like to be able to add a date/time stamp to my "Draft" marks on my graphics. Is such a feature available?

    Well you can use the variable feature in AI and script it or use a linked data base.

  • Where can i get the time stamp in Messaging Multiplexor's log?

    i have modify the loglevel to 10,but i can only find the date informatioin in mmp's log like this:
    20060317 000000 PopProxyAService.cfg (sid 0xd100c4) USER login
    which is the "time" stamp and what's it means?
    i have read the Administration Guide/Reference,but didn't find session abt it.
    where can i get some documents abt how to read the mmp's log file?
    thx!

    bash-2.05# tail -2 /mypath/PopProxy_20060317.log
    20060317 052425 PopProxyAService.cfg (sid 0x6a2044) 12 C->S bytes, 34 S->C bytes in 0 seconds
    20060317 052425 PopProxyAService.cfg (sid 0x6a2044) session end
    bash-2.05# date
    Fri Mar 17 13:24:26 CST 2006but 52425/3600=14.6h=14:36
    that's different, i don't know the reason. does sth. wrong with my mmp?
    thx in advance!
    btw:you are respect because i found lots of result which anwsered by "jay_pleaset" during my search.

  • How can I create a Time Lapse from clips in FInal Cut Pro?

    Currently have 3hrs of footage from an event....wondering how I can create a time lapse of it all in FCP. I want to make it shortened down to around 4mins if possible. How is this created?

    Try exporting a reference quicktime of your sequence and reimporting it into your project. Drop it in a sequence. Use the Time remap tool (click and hold in the select edit points tool until you see the icon that looks like a clock and choose it). Click and drag the end of your clip until it's at the 4 min mark.
    Andy
    PS: This is for FCP 7. Earlier versions of FCP require use of the speed dialog (CMD+J) or Time Remapping in the Motion Tab of the viewer.
    Message was edited by: Andy Neil

  • Can i get a time stamp of key insertation?

    Hi All,
    I'm using a class that extends the LinkedHashMap ordered by insertation (default) and i was wondering whether i can get the time-stamp (i.e, insertation time) of a key and if so - how?
    Thanks,
    Snayit

    Thanks, but is there another way? I want to use
    something of the map itself, if i can and not use an
    additional member in the value part.No, the map doesn't inherently save the time, but you don't need to implement it as "a member variable in the value part", you can wrap your desired object up in another, such as:
    map.put( foo, new MapObject( myrealojb, System.getCurrentTimeMillis() ) );
    MapObject mobj = (MapObject) map.get( foo );
    ...

  • 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 change the time stamp of a waveform?

    Hello,
    I am using a "waveform" data type and I want to change its time tamp.
    There is a vi "set waveform attribute.vi". I connected a string NI_ExpTimeStamp and a integer to the set waveform attribute.vi.
    Nothing happens. It does not seem to replace anything since the boolean output remains "false", but I do not get an error.
    Simon

    I would use the Build Waveform primitave.  Feed the waveform in and set the t0 component. 
    I am not comfortable with the timestamp attributes.  Both NI_ExpStartTimeStamp and NI_ExpTimeStamp describe the "time stamp of the first sample".  So, what happens if they are set to different values?  I have used set and get on other attributes with great sucess, but the timestamp attributes seem to be attempting to duplicate values that already exist elsewhere in the waveform.
    Message Edited by jasonhill on 03-01-2006 08:24 AM
    Attachments:
    waveformtimestamp.PNG ‏3 KB

  • How can I create an icon that when clicked will open and maximize an image file?

    How do I create a icon that when clicked will open and maximize an image file?  I have tried to use the simple image widget with maximize upon tap/click - however I am can only size the image really small and put on the page.  I'd prefer to have a graphic that when clicked it simply opens up the image.  This is for a very simple question/answer book.   The user is suppose to look at a picture and locate something.  I want to put an 'Answer' graphic on the image and then the user can click the 'answer' graphic and it will open up the picture with the answer identified. 
    Is this possible?

    Have yiu tried the PopOver widget?  You can drop an image into it, maximise the image and the widgets window...But, you cannot get it full screen.
    With iBooks Author, you either learn to use what is available within the app, or look online for third party widgets to purchase which suit your project.

  • Can I create a Table of Contents (CS6) in a separate document of book file?

    I'm helping someone create an ebook. He has three separate sections of his book so there are three files that make up the Indesign book. I currently have a table of contents at the beginning of each of the three sections and when I pdf the book, it works great. But when I export it as a Kindle ebok, only the TOC for the very first section works. I don't know how to fix it so that I can have multiple TOCs so if anyone knows, I would welcome advice on that! Otherwise I was thinking of just having one TOC in a separate file so my book would be made of a TOC and then the three sections of the book. But when I create a new document and try to add a TOC, it won't do it because the doc is blank. I'm sure there must be a way to have a separate document for a TOC that is actually functional when the book is exported.
    I hope this makes sense!

    Hi,
    If you need TOC for each file in itself then while creating TOC, select 'Make text anchor in source paragraph' and it will make TOC as hyperlinks in exported epub.
    If you need TOC in a separate document, then add a new document to book and while creating TOC in this document select 'Include Book Documents' and it will bring styles from all documents in the book in this document and then you can create a TOC for all the document. Also select 'Make text anchor in source paragraph' so that it will work as hyperlink in exported epub.
    And if you do not even want to place TOC in your document and need it in exported epub then create a TOC style in source document of book which is a TOC for all documents in book. When exporting to EPUB, select 'TOC Style' in Navigation drop down and then select your created TOC style in next drop down.
    Thanks
    -Anshul

  • How can I get rid of "Jagged Edges" in FCP from .psd/.tif/.tga text files?

    Hi guys,
    I posted this once before but don't know if anyone looked at it or not.
    I am getting "Jagged Edges" in .psd/ .jpg/ .tif/ .tga text files
    when I edit them in FCP5.1.4.
    What is going wrong?
    It is getting very frustrating for me at this point.
    Can someone help me out please?
    Thanks,
    Zia

    The usual questions...
    Have the clips you're looking at been "fully" rendered?
    Are you looking at the computer monitor or an external broadcast monitor?
    You can't judge what you've got unless you look at FCP output on a broadcast monitor.
    rh

Maybe you are looking for