LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

%22formula waveform%22 phase

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.

 

 

0 Kudos
Message 1 of 14
(4,299 Views)

I think no one has an answer

0 Kudos
Message 2 of 14
(4,289 Views)

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, ...

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 14
(4,274 Views)

Hello Gerd

 

I apologise for my reply.

 

 

I have found a way out thanks for your help.

0 Kudos
Message 4 of 14
(4,253 Views)

Can u tell me what was the solution? I have same problem

0 Kudos
Message 5 of 14
(4,194 Views)

Or does anyone know how to input phase to the formula waveform?

0 Kudos
Message 6 of 14
(4,178 Views)

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

0 Kudos
Message 7 of 14
(4,172 Views)

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

0 Kudos
Message 8 of 14
(4,155 Views)

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.

Download All
0 Kudos
Message 9 of 14
(4,140 Views)

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.

http://forums.ni.com/t5/LabVIEW/square-wave-gerneration-from-harmonics-and-fundamental/m-p/2534044#M...

 

Regards

Sachindian

0 Kudos
Message 10 of 14
(4,134 Views)