CamilloN Posted September 6, 2007 Report Share Posted September 6, 2007 Hello, i got a problem. I need the time from wich a signal started till it reaches the peak, and to store it in a Excel file. I think to store it isn't the problem. The signal is a very fast signal. It is the first time i use Labview, so i've got no experience with it. Thanks Vincenzo Nuzzi Sorry for my bad english Quote Link to comment
orko Posted September 6, 2007 Report Share Posted September 6, 2007 QUOTE(CamilloN @ Sep 5 2007, 02:09 AM) I need the time from wich a signal started till it reaches the peak I'm assuming that you already have a way of capturing the signal from whatever hardware you are using. A sample VI of what you have so far would help here to better understand what you are working with. Check out the "Waveform Min Max.vi" located in the waveforms pallete. It gives you the MaxTime and MinTime of an analog signal, which you can use to calculate the elapsed time since the start of the waveform. This may be what you are looking for. http://forums.lavag.org/index.php?act=attach&type=post&id=6853''>http://forums.lavag.org/index.php?act=attach&type=post&id=6853'>http://forums.lavag.org/index.php?act=attach&type=post&id=6853 Quote Link to comment
CamilloN Posted September 8, 2007 Author Report Share Posted September 8, 2007 Thank you very much, but now i have the answer. it is a simple VI i think it's called Transition Measurements.vi in english. Quote Link to comment
CamilloN Posted September 11, 2007 Author Report Share Posted September 11, 2007 Ok i worked another while at this problem, and my solution doesn't work, so i tried your's orko. I put a Sinus Wave infront of the measure with 50Hz A normal durance of this is 20 msec, then the ascent must normally be 10msec. But your VI only gives me 5? I think it begins by zero, so i have only the half anscent. How can i change it? Is it possible to just put it into a While loop to give me more than one rating. Quote Link to comment
orko Posted September 12, 2007 Report Share Posted September 12, 2007 QUOTE(CamilloN @ Sep 10 2007, 04:18 AM) Ok i worked another while at this problem,and my solution doesn't work, so i tried your's orko. Alrighty. Sorry it took so long to respond... the "get new posts" link isn't working for me anymore and it's kind of difficult wading through all the forums QUOTE(CamilloN @ Sep 10 2007, 04:18 AM) I put a Sinus Wave infront of the measure with 50Hz A normal durance of this is 20 msec, then the ascent must normally be 10msec. But your VI only gives me 5? I think it begins by zero, so i have only the half anscent. It is 20msec from the start of the wave to the start of the next wave, or the whole 360 degrees of the wave from zero to zero. Since the generated Sines wave( ) starts out at zero on a positive transition, at 5 msec (90 degrees) it is at max and at 10 msec (180 degrees) it is at zero again. This is just the nature of the Sines wave() since you are plotting the mathematical Sine at a degree of rotation.QUOTE(CamilloN @ Sep 10 2007, 04:18 AM) How can i change it? Is it possible to just put it into a While loop to give me more than one rating. Not sure what you would like to change? Are you just wanting to store the positive peaks of a repetitive wave? -- Joe "the original" Sines http://lavag.org/old_files/monthly_09_2007/post-3266-1189493455.gif' target="_blank"> Quote Link to comment
CamilloN Posted September 13, 2007 Author Report Share Posted September 13, 2007 My real Problem is that i have two signals. The first is for example 5msec 0V and then it begins. The second is also 0V and begins a few msec later. Now i want to know which time is needed between the start of the first signal and the start of the second signal. And the start of the first signal and the max. of the second. By the Way how can i simulate the timeoffset from the first signal Thank you very much for your help Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.