LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

current time in the x-Axis

Hi everyone,

 

I have some problems putting a waveform together that shows the current time in the x-Axis.

I tried to do it with “timestamp” and “build waveform” but it didn’t work out. All I need is some values over the current time x-Axis. 

All it shows in my waveform is the time since 1904, like it always does!

Probably a silly question, but can anyone help me out, maybe with an example VI?

 

TNX

0 Kudos
Message 1 of 10
(3,504 Views)
You should give the offset and multiplier to the property node for the chart.. here i have attached a sample vi
0 Kudos
Message 2 of 10
(3,499 Views)

You could do it without any property node.

Just have a look at the attachment.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 3 of 10
(3,483 Views)

Thanks, for that one,

 

it is just wat I wanted, but in your example changes the current date to 1904 as soon as you fillin some y-values!

 

can you fix that?

 

TNX

0 Kudos
Message 4 of 10
(3,480 Views)
did you select time and date in the time and date-control?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 10
(3,478 Views)

Hi,

You have the current time in the x-Axis. So far so good, but your Time stays in this one second you start the VI.

It was probably my fault, because I didn´t explain my problem good. What I need is an Waveform with some y-values (every second) and the running current time in the x-Axis. So that, for example, I can see at what time of the day a peak showed up.

I hope I made it clear !?!

 

THX

0 Kudos
Message 6 of 10
(3,477 Views)

Hi Becktho,

 

I´m such a thickhead, you are right.

 

Thanks for the help

0 Kudos
Message 7 of 10
(3,471 Views)
Did you also set dt?
 
If I set some y-values, dt = 1 and x0 to current time, I get different times on the x-axis.
 
I attach a screenshot, that shows this.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 8 of 10
(3,471 Views)
yes, I set dt as 1. But I don´t get what you mean with the different times on the x-axis.
0 Kudos
Message 9 of 10
(3,460 Views)
You can see the time increase (e.g. 14:01:00.000, 14:01:05.000, 14:01:10.000).
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 10 of 10
(3,456 Views)