09-24-2009 05:39 AM
hello everybody, i'm using the soundcard to do a dtmf experiment. now the generator part is finished, but the detector part has some problems. for the detector i modified the ni example "continuous sound input".
after the 'sound input read' vi, i inserted a mathscript to perform the dtmf algorithm. the mathscript has an input y, which is connected to the data terminal of sound input read vi. in the mathscript node there is a loop:
for jj=1:512
wn=a*y(jj)+b+c
end
everytime i ran this vi, it told me that the y(jj) line is wrong, the message is 'index out of bound'.
can anyone explain this? thank you!
09-24-2009 09:37 AM