LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

autoscale X axis in order to plot time in seconds

Hello,

I have the following question.
I have aquired some signals with the length of 131072 samples. The sampling frequency in 15kHz.
Thus, the sampling period would be 1/15kHz. The total acquisition time is: 131072 * 1/15kHz.


I have problems when plotting the signals.
If I try to plot the Amplitude vs. Number of Samples, I do it correctly.
If I try to plot the Amplitude vs. Time, I can not get a good result.

I have attached two pictures, with my Front Panel and my Block Diagram.

Can you help me please?
Download All
0 Kudos
Message 1 of 3
(2,722 Views)
Hello Raul,
you have to properly set the dt- value for the X-Axis. It is called Multiplier and you set it according to the pictures.





And with this you don't have to set the scale range, if you have autoscale the whole plot should be shown correctly.
For me the second plot looks like showing the first nine values of your plot.
greets, Dave





Message Edited by daveTW on 04-08-2008 11:23 AM
Greets, Dave
0 Kudos
Message 2 of 3
(2,712 Views)
Hello,

Thank you for your help. It works !
How can I rate your message?

Have a nice day
0 Kudos
Message 3 of 3
(2,683 Views)