08-15-2013 02:03 AM
hi,
I am trying to generate a custom signal using the formula node(sum of Asin(wt+phi)).. I found out that i cannot input phase shift in it. Is there a way i could do that. Also, what if i want to input different values of phase.
08-15-2013 02:29 AM
I think no one has an answer
08-15-2013 05:26 AM - edited 08-15-2013 05:27 AM
Hi Sachindian,
I think
- you're begging for help without waiting for an answer for a reasonable period of time.
- you're providing too less information: show your VI, explain why you use a formula node for such a simple formula, explain expected results, ...
08-15-2013 06:45 PM
Hello Gerd
I apologise for my reply.
I have found a way out thanks for your help.
09-08-2013 10:05 AM
Can u tell me what was the solution? I have same problem
09-08-2013 03:35 PM
Or does anyone know how to input phase to the formula waveform?
09-08-2013 03:48 PM
Did you read GerdW's reply to the original post?
Please post your VI along with a detailed description of what you want the result to look like. It is hard to tell what you have tried without seeing your VI.
Lynn
09-08-2013 07:57 PM
hello Menomena
There is no way we can input phase shift into the the Formula waveform as far as I know.
I have tried different ways of doing it and posted questions here on discussion forum. i got many suggestions.
I would suggest if you can describe your problem fully and try to excatly define what you are doing it will be helpful for the guys here to help you. Most of them are not NI employees. They are volunteering to help people like us.
Please make your problem clear.
My problem was that i was trying to generate custom triangular signals as an addition of fourier components. I had magnitude and phase of each harmonic. It is quite simple to do that, if are trying to do similar thing. you can refere
http://forums.ni.com/t5/LabVIEW/building-waform-from-formula-node/m-p/2532762#M768432
09-09-2013 12:41 AM
Sachindian,
I have very same problem as u had.
I have a voltage signal and i need to get amplitudes and phases(from harmonics after FFT). For example my signal has 50hz, and i need to get amplitude and phase of 3th(150hz), 5th(250hz),7th(350hz),9th(450hz),11th(550hz),13th(650hz) harmonics. After that i need to build a new signal, should by polynolmial, or at least a basic function to build a new signal can be cosinus.
For better expla ation Ive attached formula which i need to get. k are next harmonics of basic frequency. Sin(+pi/2) <- i mean it as a cosinus, + alphak is a phase
I ve tried to get phases and amplitudes of each harmonics by "Tone measurements"(it can search for chosen frequency) and copy that multiply times(up to13th harmonics, so copied 6times) but dont know what to do next.
09-09-2013 01:02 AM
Hello Menomena,
There are lot of example of generating signals using harmonics. Go to the post below. You could get some idea how to do it. In my work i have modified the square wave vi in the discussion as per my requirement. You can do it too.
Regards
Sachindian