From Thursday, May 23rd (05:00 PM CDT) through Friday, April 24th (1:30 AM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Thursday, May 23rd (05:00 PM CDT) through Friday, April 24th (1:30 AM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-06-2006 04:08 PM
12-07-2006 03:14 AM - edited 12-07-2006 03:14 AM
You could play about with the waveform components t0, dt and Y[]. In your case its t0.
Does this help?
David
Message Edited by David Crawford on 12-07-2006 09:14 AM
Message Edited by David Crawford on 12-07-2006 09:15 AM
12-07-2006 04:31 PM
11-27-2013 06:18 AM - edited 11-27-2013 06:20 AM
hi DavidJCrawford,
I tried this example, but the change of t0 does not effect the result. I attached my vi and the waveform graph. Please let me know where I went wrong, thx!
Does this problem relating to the "IngoreTimeStamp" or something like that?
Thx in advance!!
11-27-2013 06:25 AM
11-27-2013 06:30 AM
Hi GerdW
I was trying to shift a time signal by a half period or so and do a substraction between them. But I was stucked here. I can not shift one channel of the signal!! Could you please help me? Thx
Vic
11-27-2013 06:46 AM
Hi Victor,
you have to find the time range both signals have in common. To do so you should use both starttimes t0 and the duration of the first signal. Then use GetWaveFormSubset to cut that part of both waveforms to subtract them...
11-27-2013 07:31 AM - edited 11-27-2013 07:31 AM
@victorluo wrote:
Hi GerdW
I was trying to shift a time signal by a half period or so and do a substraction between them. But I was stucked here. I can not shift one channel of the signal!! Could you please help me? Thx
Vic
Be careful. There is a setting for the graph under the X Scale to "Ignore waveform timestamp on x-axis". This is checked by default. Then you will see your time offset.
Now, as GerdW said, you need to get the two waveforms under the same time frame. So you have to remove part of the waveforms in order to subtract.