LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time on x-axis graph don't match real time

Solved!
Go to solution

Hello, 

 

I need some help about time on x-axis garaph, the time is fast than real time. i use simulation daq for test.   

 

How to solve this problem? please help me.

Download All
0 Kudos
Message 1 of 5
(2,746 Views)

Well, you are setting the x-axis multiplier to 1, meaning that the graph assumes the points are one second apart, while they are actually 1ms apart. Since the mutiplier never changes dirung the loop, you only need to set it once, outside the loop.

 

There are quite a few simplications possible in your VI.

 

  1. index array is resizeable, so you only need one instance resized to three outputs. You don't even need to wire the indices.
  2. You can multiply the arrays with scalars (constant 1&2), no need to initialize arrays.
  3. Instead of the dynamic data song and dance, you can just use "build array" to merge the three 1D arrays for the graph.
  4. ...
0 Kudos
Message 2 of 5
(2,735 Views)

Thanks for your advice, I modify VI but i don't understand which part that i will be take outside loop for solve this problems.

 

please advice me. 

0 Kudos
Message 3 of 5
(2,721 Views)
Solution
Accepted by topic author 90110

The x-scale.multiplier should probably be 0.001.

 

What do you actually want to show on the x-axis. It seems a bit funny to display one second worth of data with a full date format. Is that really what you want? Maybe you want to set the offset to 0 and use a plain numeric format for the x-axis?

0 Kudos
Message 4 of 5
(2,702 Views)

Thanks, I can done.

0 Kudos
Message 5 of 5
(2,690 Views)