09-25-2009 08:16 AM
Hello guys!!
I would like to plot the waveform from a sound of my sound card (using the microphone). Well, with the "acquire sound" icon from the Express menu I could make it. But I have a trouble when I want to store as a binary data. If a set the "acquire sound" icon in 1 channel, I have not problem to store and plot then, but when I set the "acquire sound" icon in 2 channels, I can to plot the binary data. I attach a picture with the vi
Can someone help me please?
thanks
Solved! Go to Solution.
09-25-2009 08:45 AM
09-25-2009 08:51 AM
No, I am just running my vi with "run" button
by the way, I am a phisicyst from the Universidad de Santiago de Chile (USACH)
thanks
09-25-2009 08:52 AM
I wouldnt recommend the Express VI.
You just need to do something like this:
Only the Read needs to be in a loop.
Remember to put a wait in the loop.
The data output is an array of waveforms, so you can write to a file if you want.
09-25-2009 08:54 AM
nomade42k wrote:
by the way, I am a phisicyst from the Universidad de Santiago de Chile (USACH)
Thats cool! MSU's physics department collaborates with some physicists in Chile with the SOAR telescope
09-25-2009 09:27 AM
09-25-2009 09:28 AM
Are you having a hard time with the graphing or the writing to a file?
09-25-2009 09:52 AM
I think you should modify the "Sound Input Read VI" as shown in the picture. Remember to save it some place else than the vi.lib dir
09-25-2009 10:29 AM
09-25-2009 10:44 AM
nomade42k wrote:
Sorry guys, maybe I made the wrong question. I just used the "acquire sound" to simulate several signals.
What do you think about this solution???
Very close to ending up here
try to understand this
Do NOT use Express VIs. Using Express VIs is like peeing in your pants a cold winter day. You may get warmer for a few minutes. But after that it will be very cold.