LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling the phase of multiple sine waves

I am currently working on a program to generate multiple sine waves with controllable amplitude, phase and frequency. Through the use of an array within a while loop I can control all of the amplitudes independently, but I have yet to figure out a way to go about controlling independent frequencies efficiently.  I can currently control all of them by setting the refersh rate of the while loop. Is there a method simpler than just hardcoding each control?

 

Possibly relevant background information:

-Outputting onto a UEIDAQ board

-Controls 32 pins

 

Thanks for any help

0 Kudos
Message 1 of 6
(3,126 Views)

Have you looked at the signal generation VI's they have inputs for phase.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,125 Views)

@mikeporter wrote:

Have you looked at the signal generation VI's they have inputs for phase.

 

Mike...



I looked through it, but did not notice something that would allow for simple control of 32 pins.  I may have missed something though.  Could you direct me to a more specific example?

0 Kudos
Message 3 of 6
(3,118 Views)

Could you explain a bit more about what you mean by "control 32 pins"?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,115 Views)

That was poorly worded and relates specifically to my project, sorry.  By 32 pins I mean that I want to generate 32 sine waves where the amplitude, frequency and phase can be independently controlled.  I can currently independently control the amplitude but have yet to figure out a way to independently control the frequency and phase other than hardcoding everything.

0 Kudos
Message 5 of 6
(3,112 Views)

That's where the signal generation VIs come in. They encapsulate the entire process of creating waveforms including setting their amplitude, frequency and phase; and give you controls for setting them independently.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(3,107 Views)