06-08-2015 11:19 AM - edited 06-08-2015 11:31 AM
Currently our system uses a tone (frequency) generation smartphone app, run through an amplifier, to drive a speaker. I'm looking for a way to do the frequency generation using labview. I see the waveform generation tools, specifically the Tones and Noise vi so I'm wondering if we can use the output of that through a cRIO, into the amp.
We are looking for a range of frequencies, although we won't be sweeping them right away, so outputting a single frequency would be fine. We are looking at up to about 20kHz frequencies.
We're using a cRIO 9014 controller in scan mode and have an NI-9265 doing out analog output. For digital output we are using a 9477.
Any direction would be appreciated!
06-09-2015 12:14 PM
Have you tried using the VIs from the Waveform Generation pallete? I think that you can generate a waveform with the frequency you want and output it from your modules.
06-10-2015 12:11 PM
Thanks for the reply, the question is how do I get it to output to the module? Are you suggesting I just take the frequency column of data in the waveform output of the vi and wire that to the output?
Also, we are using a 200ms refresh rate (clock) on the cRIO so will that affect it? Since it's an output, I suspect the only thing that would be affected is if I wanted to start and stop it more often than every 200ms. Which I don't.
06-10-2015 02:14 PM
Well since you are using scan mode I thought that maybe you could create a network shared variable and connect the output of the waveform to the input of the variable. You could give it a try.
I do not think that the clock will affect you in this case, as you say only if you want a higher frequency maybe you should change your clock.