01-05-2008 11:32 PM
01-07-2008 12:55 PM
01-07-2008 02:39 PM
01-07-2008 04:26 PM
01-08-2008 02:06 PM
Dear Lynn,
Thank you very much for your effort. Your VI definetely helped me to think different alternatives. I know you already spent a lot of time for me but I need the phase angle values at the trigger points.
I tried implementing this in your vi by using tone measurements vi to get the phase values of the generated sine vi and later the correspponding trigger point, but it still gave me a nonzero phase for the sine wave. Also no problem but I think it runs for one time only.
I am attaching a VI, I was working on. I know it is a very low performance and primitive VI, but any recommendation is welcome. My vi reads the pulse, and data then adds time and index information. Later when it detyects a trigger point it extracts 501 points like your vi. Then gets frequency, amplitude, phase values from tone measurements vi (where I got the error). Then using these values generates a sine wave and writes phase values for this wave. Last step is to save the phase values at the pulses. This vi repeats for all the pulses.
If you can tell me how to calculate phase values for each point I will really appreciate that.
Thank you once more.
Regards,
ilter