LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform graphic / chart time display (x-axis) is wrong?

Why the time is incorrect in waveform graphic / chart? How to solve it?

When I run the program, I find that waveform graphic/chart show 0 to 20 (time/x-axis) but actual is running 30 second.

 

0 Kudos
Message 1 of 5
(3,261 Views)

You need to specify the timing information with "build waveform".

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
Message 2 of 5
(3,240 Views)
Where to set "build waveform"?
0 Kudos
Message 3 of 5
(3,218 Views)

The Build Waveform is on the Waveform palette. You can use it to set the dt. It's a fancy cluster. The dt is your loop rate in seconds. I would assume you have some wait or delay function that you are using to set the loop rate.

 

You can also use a property node - XScale.Range. Offset and Xscale.Range.Multiplier. Look at the example called Real Time Chart.

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

Well, I guess the first question I have is which do you have, a 'chart' or a 'graph'.

That will make a difference when you want to set the xaxis.

Cory K
0 Kudos
Message 5 of 5
(3,203 Views)