01-15-2009 02:05 PM
Hi there
I have a program that reads from a table done in excel and finds two numbers from the table(they're different all the time). Those numbers are represented in Hz. What I want now is how to merge those two numbers as frequencies and output them and hear them from the speaker as audio. I also have the part of hearing them done but I can't figure out a way to have it connected so that it doesn't matter which numbers come up, it'll update it accordinaly. I appreciate any helpers.
Thanks a lot
01-15-2009 02:09 PM
What do you mean 'merge'?
Do you want to add the frequencies?
Or
Do you want to output both frequencies?
01-15-2009 02:21 PM
add the frequencies
01-15-2009 02:25 PM
01-15-2009 02:50 PM
Well, your code doesn't find extract any values from the table - this part looks unfinished. The Simulate Signal Express VIs will, I assume, be fed the frequency from your search. Presumably this search will return two different values. As for the adding, you're already doing this, so I don't understand what your question is regarding this. If anything you can simplify the adding by simply using the ... Add primitive:
01-15-2009 02:56 PM
01-15-2009 03:46 PM - edited 01-15-2009 03:46 PM
Then I'm not sure what you're doing, or what your definition of "add" is. Here is the example I posted, with Signal 1 at 250 Hz and Signal 2 at 500 Hz:
01-15-2009 03:52 PM
01-15-2009 04:01 PM
01-15-2009 04:14 PM