12-06-2017 11:48 AM
I'm utilizing a high throughput FPGA personality for audio in and I'm able to pick up waveforms on a graph but I am unable to save the data into a .wav file. I am able to save a .wav file but it's empty (0 seconds).
The goal of the design is to have a microphone pick up audio for 5 seconds and then save the audio into a .wav file on the myRIO.
The issue seen is that the audio isn't being saved properly. The current method is to use the build waveform component after the audio in and then pushing it into the write waveforms to file component.
12-07-2017 10:58 AM
Hi toeknee,
Can you try moving the Write Waveform to File.vi outside the While loop? The way it is working now, it is writing to test1.wav every single cycle of the while loop. So, if you wait for the 4 seconds (Time elapsed VI) to finish and only write to the file after you are done building your waveform, you should get the full waveform you're expecting.
Let me know if that helps!