10-10-2008 06:29 AM
Hi,
I want to plot the digital waveform from x=5, ie time t0=5. I tried in many ways but I could not plot form 5.
In the build waveform, there is an element 't0' in cluster, but it is in the time stamp format.
Kindly share your Ideas.
Regards,
Raja
10-10-2008 08:35 AM
Hi Rajaa,
It would be simple to do that. Please refer to the attached picture and VI. What you have done is almost correct, need to add "to Time Stamp format". Do not forget to set the properties of the Digital Waveform indicator to untick "Ignore Time Stamp" to be able to see the t0 has been changed.
Hope it Helps!
Sincerely,
Krisna Wisnu
10-10-2008 09:31 AM
Hi,
Sorry, I forget to inform that I am using LabVIEW 8.2. Can you post that in 8.2
Regards,
Raja
10-10-2008 09:58 AM
10-11-2008 12:56 AM
Hi,
Actually I want the Time scale in numbers(ie. 5,6,7....). I ignored the time stamp, but the plot is not visible.
I used number to Time Stamp converter as you mentioned, but it doesn't work.
I read the data from a file & then I convert into digital format & display in graph with shift in the initial value(t0).
I attached the vi.
10-11-2008 12:07 PM
Hi Rajaa,
1. If you want to ignore TimeStamp, do not play around with t0. Let me show what happen if you play around t0:
- You do not changed the number of the data
- You change the t0, it is similar like zoom in or zoom out functions in oscillscope.
- Block Diagram:
Block Diagram.png
- Front Panel with Index=0 (Notice X-axis changed into timestamp)
Front Panel t0=0.png
- Front Panel with Index=5 (Notice the signal is shifted-zoom out)
Front Panel t0=5.png
2. If you want to start at N-samples, let's say n=5, then you should not play around with t0. You should delay the signals with zero data or append zero data in the front end of the signals. Refer to the picture.
Delay 0 samples.png
Delay 5 samples.png
You may refer to the VI attached for the second part. Hope it helps!
Sincerely,
Krisna Wisnu