LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time scaling

How can I perform Time scaling on a signal like getting X(2t) or X(t/2) from x(t) in labVIEW. PLease reply quick.
0 Kudos
Message 1 of 10
(4,029 Views)
extract the time from the waveform, scale it, add it back in....
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 2 of 10
(4,027 Views)

Hi TWGOMEZ

Thanks for the reply. but tell me one thing , Im reading the simulated waveform from .txt file and I want to time scale this waveform . Im attaching the VI and the required text file. I want to time scale the waveform coming to the waveform graph. Pls help.

Download All
0 Kudos
Message 3 of 10
(3,999 Views)

Since you do not have timing data to the text file, you can add it this way with the Build Waveform function.



Message Edited by Dennis Knutson on 05-03-2008 08:23 AM
0 Kudos
Message 4 of 10
(3,982 Views)
Thanks Dennis.
 
I want to scale only a part of the waveform and then replace the orginal part with that scaled part. How shal  I go about it?? Pls reply.
0 Kudos
Message 5 of 10
(3,949 Views)
I don't quite understand. By definition, a single waveform has a uniform dt. What exactly are you trying to do?
0 Kudos
Message 6 of 10
(3,930 Views)
In simple terms I just want to expand/contract a part of a waveform
0 Kudos
Message 7 of 10
(3,914 Views)
Use an XY graph, and do basically the same thing as shown above, but dT being X is an array that you can add whatever values you want, each one corresponding with the same index of Y...
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 8 of 10
(3,899 Views)
This simplest way would be to just use the zoom function on the graph palette. You can also change the min/max settings of the graph with a property node.
0 Kudos
Message 9 of 10
(3,888 Views)

Thx TWGOMEZ

But can you put up an example for that??

0 Kudos
Message 10 of 10
(3,858 Views)