LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time Stamp Error

Hi,

My overall VI goal is to read a voltage difference, convert this to a pressure measurement, then output this information to a file with a timestamp (reading once per second).

The problem is that after the first 10 seconds, the time stamp continually resets to Jan.1.1904 - 0:00:00.00

It continues to reset every 10 seconds, please help!

0 Kudos
Message 1 of 2
(2,633 Views)

Well, you are using the Dreaded DAQ Assistant (DDA, for short), meant for people who don't know (and don't want to learn) LabVIEW.  TimeStamps are a special type in LabVIEW, and represent the number of seconds (to a very high precision) since 1 Jan 1904.  Your DAQ Assistants are acquiring 10 points at 1 Hz.  If you repeatedly generate 10 points and plot them, letting the X values repeat from 0 to 9 (or 1 to 10), and represent these numbers (0 to 10) as LabVIEW TimeStamps, they will evaluate to 1 Jan 1904, 00:00:00.0 to 00:00:01.0.

 

I recommend learning enough LabVIEW (a few weeks should do it) to be able to not use the DDA and use real DAQmx functions.

 

Bob Schor

Message 2 of 2
(2,597 Views)