08-28-2014 01:29 PM
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
08-28-2014 01:31 PM
Have you looked at the signal generation VI's they have inputs for phase.
Mike...
08-28-2014 01:38 PM
@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?
08-28-2014 01:42 PM
Could you explain a bit more about what you mean by "control 32 pins"?
Mike...
08-28-2014 01:45 PM
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.
08-28-2014 01:48 PM
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...