LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I plot my graph according to timescale?

Solved!
Go to solution

Hi a little help please. Im trying to plot a waveform on a graph in LW/CVI. The X_Axis is the timescale and the Y-Axis the amplitude. I use a for loop to generate the X and Y arrays. Im not sure how do i get the X array to correspond to the timescale. I need X to increment in milli seconds. I have changed the graph X-Axis to relative time/absolute time but the problem is how do i get the for loop to increment the X-Array according to the clock.

 

Thanks for your help;

 

Rohit

0 Kudos
Message 1 of 3
(3,298 Views)
Solution
Accepted by topic author sinnas

Hi Rohit,

 

there is a nice example called TimeDateUnits which demonstrates a continuous update of a xy graph, maybe you can have a look at it?

0 Kudos
Message 2 of 3
(3,296 Views)

Thank you wolfgang!

0 Kudos
Message 3 of 3
(3,291 Views)