Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Modify the Timestamp When Recording Data in VI Logger?

Primary Software: Other NI Software>>VI Logger
Primary Software Version: 1.0
Primary Software Fixed Version:
Secondary Software: Other NI Software>>VI Logger

Problem:
When exporting data to Excel using VI Logger, I am only able to see the data in terms of the time of day. What I would like to see is an elapsed time in seconds.

Solution:
In order to do this, you must click on Data Export Settings while in the Task Attributes tab of your VI Logger Task. When the Data Export Settings dialog box pops up, you must first select the radio button style to be at Custom Template and click on the Custom Template push-button to access the Advanced Export Settings window. Once you have done this, you will need to modify the field using the variables on the bottom right of the pop-up window.

One way to see an elapsed time would be to enter the following lines of text in the Header box to format the header:

NI VI Logger
Created: {creationDate} {creationTime}
Number of scans: {rows}
Scan rate: {deltaT} seconds

Time{repeat(###,0,{numChannels},"{delimiter}{name[###]}({units[###]})")}

You would also need to enter the following line in the Row Format box in order to format the exported data appropriately in the Excel spreadsheet:

{timeOffset}{repeat(###,0,{numChannels},"{delimiter}{value[###]}")}

Related Links: Product Manuals: VI Logger User Guide (2.0)


Attachments:





Report Date: 02/17/2007
Last Updated: 02/17/2007
Document ID: 46G8HT07

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit