From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to measurement file resets to 1904

Solved!
Go to solution

LV 2014

Windows 7 Professional

64 bit OS

 

The first run of this vi creates an excel file that is time stamped correctly.

The second and subsequent runs, the time stamp is reset to 1/1/1904 00:00:00.000.

 

When I click the state 1 button, the USB DAQ's measure temp and voltage. Some calculations happen. 

The data is sent to state 2 via local variables. 

Write to Meas File makes an excel file. Settings as shown in picture. In advanced settings in Write to Meas File, absolute time is checked. 

 

Can you help me get back to the future? 

 

 

vi saved as Main 2014 and 2013 respectively. 

 

0 Kudos
Message 1 of 5
(4,460 Views)
Solution
Accepted by topic author Carmen92126

Open up your Convert To Dynamic Data node.  You have it set to the time to be "Zero".  You want it to be set to "Now".


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(4,423 Views)

Thank you! That worked. 

0 Kudos
Message 3 of 5
(4,412 Views)

no sir, even after implementing it i'm getting the same problem in the  .vi

for the measurement file.JPG

what shall i do then.

here is my .vi shot

for the measurement file vi.JPG

here is the dynamic data attributes that are been set

convert to dynamic data modification.JPG

now please try to clear my quiries

0 Kudos
Message 4 of 5
(4,027 Views)

Hi triptathakur,

 

I believe your issue is coming from your "Write to Measurement File.vi". If you open up that express VI and click on 'Advanced..' in the bottom right corner, you should be able to select a check box "Absolute" to have your time be saved and displayed correctly.

0 Kudos
Message 5 of 5
(3,988 Views)