LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time Stamp

I have set my waveform chart to display the time stamp on the x-axis.  It is showing the year as 1903, and I do not know how to display the current time stamp.  The data type is a DBL scalar.  The data is plotting fine.  How do I show the correct time stamp?
 
Mark
0 Kudos
Message 1 of 30
(5,254 Views)

Right click on your chart and select Formatting...

Click on the format and precision tab.

Make sure you are formatting the X-Axis

Select Relative Time for the type

Hope that helps you out.

David

0 Kudos
Message 2 of 30
(5,237 Views)
The default value for time stamps is zero seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time.  I am not quite sure why it is coming up as 1903.  Do you have a negative time somewhere?  Your time zone may also be at fault (-6 hrs, for example). 
0 Kudos
Message 3 of 30
(5,235 Views)

There's a shipping example called Real-time Chart that shows one way to set the x-axis to the current time. Here's a slightly modified version. A dbl contains no timing information that the chart can use so you have to provide it yourself.

Message Edited by Dennis Knutson on 06-20-2006 09:59 AM

0 Kudos
Message 4 of 30
(5,236 Views)

Dennis,

Thanks for the advice.  I modified my VI similar to the JPG, and it worked like a charm. 

 

Mark

0 Kudos
Message 5 of 30
(5,204 Views)

Hello,

I`ve got similar problem like yours.

I have a bunch of csv files and I have to plot particular columns from them with timestamp shown on the x-axis.

One of the things I have done so far is to convert the timestamp to human readable time but I have problems placing it on the x-axis.

I have tried almost everything I could think of but no result so far.

Can somebody help me please? 

Download All
0 Kudos
Message 6 of 30
(4,595 Views)

@vasgeo wrote:

Hello,

I`ve got similar problem like yours.

I have a bunch of csv files and I have to plot particular columns from them with timestamp shown on the x-axis.

One of the things I have done so far is to convert the timestamp to human readable time but I have problems placing it on the x-axis.

I have tried almost everything I could think of but no result so far.

Can somebody help me please? 



Doesn't seem to be particularly related to the OP issue, but have you simply tried NOT converting it to something human-readable?  Just make sure the format of the X axis is timestamp.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 30
(4,588 Views)

@vasgeo wrote:

Hello,

I`ve got similar problem like yours.

I have a bunch of csv files and I have to plot particular columns from them with timestamp shown on the x-axis.

One of the things I have done so far is to convert the timestamp to human readable time but I have problems placing it on the x-axis.

I have tried almost everything I could think of but no result so far.

Can somebody help me please? 


Thats because excel uses a different scale and epoch to represent time.  yuo need Time to XL.vi available in this post.  Don't forget to vote for the idea.

 


 


"Should be" isn't "Is" -Jay
Message 8 of 30
(4,582 Views)

But I have timestamp in excel format and I thought that I had to convert it to human readable first.

If I don`t do it how can I read the plot considering that x-axis should give me the time at which a particular process took place?

Jeff Bohrer, thank you for your response, but I don`t understand how your vi could help me? However, your idea is great and I have already voted.  🙂

Please, accept my apologize if my questions are stupid, but I`m not an experience user as you guys are. 


0 Kudos
Message 9 of 30
(4,564 Views)

@vasgeo wrote:

But I have timestamp in excel format and I thought that I had to convert it to human readable first.

If I don`t do it how can I read the plot considering that x-axis should give me the time at which a particular process took place?

Jeff Bohrer, thank you for your response, but I don`t understand how your vi could help me? However, your idea is great and I have already voted.  🙂

Please, accept my apologize if my questions are stupid, but I`m not an experience user as you guys are. 




Ahhh.. You have file need to rescale it to to LabVIEW time.  I've been promising myself to write Time to XL.vi's inverse here it is


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 30
(4,548 Views)