LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add phase to the sinusoidal signal

Hey everyone,

 

I have issue. I don't knew how can i add phase to the sinusoidal signal? I have two sinusloids whith are of variable frequency (variab. freque. - i suppose that is not a problem for solve my problem). Tension and curant (my two sinusoids) i need delay each other. 

 

 If anyone can give me help, please. 

Marek 

 

 

0 Kudos
Message 1 of 8
(4,246 Views)

hi,

  If you are generating a sine uisng express vi,phase input is there.wire any value to it and get the delay...

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 8
(4,233 Views)

Thanks SrikrishnaNF for your reply,

 

These sinusoids I've taken from sensors and i need edit them.

 

(?)

 

 

 

0 Kudos
Message 3 of 8
(4,222 Views)

Hi ,

  If that is the case...please check the delay values express vi...

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 4 of 8
(4,215 Views)

view0.JPG

Hey SrikrishnaNF, if you mean whot i insert previous it doesn't work. After diagram run is appered an error that two signal are not the same. And i think that it is not a delay of signal phas.

 

(?)

 

view01.JPG 

 

I calcul the paramet reel and imaginary from two singnal. For my experience i need delay with phase one signal unto the second. 

0 Kudos
Message 5 of 8
(4,190 Views)

Hi gfds,

Maybe you can use cross-correlation between your signals.

Message Edité par Micael_ le 10/05/2010 03:16 PM
Cordialement,


Micaël DA SILVA
0 Kudos
Message 6 of 8
(4,178 Views)

Thank you Micael_ for help

 

How can I use cross-correlation block for solve my issue?

 

view03.JPG

 

I've attached my resultat of using this block. Frequency is in range 25kHz - 35kHz with showing resonance.

 

view02.JPG

 

0 Kudos
Message 7 of 8
(4,164 Views)

I thougth you wanted to calculate the delay between the sinuses...

If you want to add a delay, you can just acquire a little more samples and then remove a part of the signal at the beginning of an array/the end of the other.

 

Is there a problem with your current acquisition? It seems not to be a sinus.

 

Maybe it would be more convenient if you post your question in the french forum.

Message Edité par Micael_ le 11/05/2010 09:20 AM
Cordialement,


Micaël DA SILVA
0 Kudos
Message 8 of 8
(4,134 Views)