05-01-2007 03:26 PM
05-01-2007 03:34 PM
05-02-2007 01:14 PM
05-14-2007 02:03 PM
05-15-2007 01:24 PM - edited 05-15-2007 01:24 PM
Martin,
I am a little confused as to what your VI is actually doing. I am not seeing the same error that you were earlier. You are getting multiple channels of data from your sound card, but in parts it looks like you are treating these multiple channels as a single channel. You are taking an array of waveforms into a from dynamic data type, but an array of waveforms is not a dynamic data type. You can convert it to a DDT, then back to a 1D array of doubles, or you can convert all of the samples on all of the channels to a 1D array of doubles. This would give the proper input to the STFT VI.
What is is you are expecting this conversion to do? It appears that it is producing a 2D array of data, though I don't know what is to be expected from this measurement.
Also, why are you taking multiple sample sets? Are you wanting to take samples continuously over a long period of time? I will have to look into this more, but I'm not sure that the sound input VIs work like DAQmx does, where the samples are acquired and stored on a hardware buffer and the read simply reads the samples from this buffer. It may just acquire the samples it needs, then stop until the read is called again. However, I'm not sure, I will have to look into this more.
Regards,
Message Edited by Coal Man on 05-15-2007 01:25 PM
05-15-2007 07:10 PM
05-17-2007 12:55 PM