Currently I am able to detect the peaks of a waveform, but when I try to save into a text file, it keep updating the data which does not save all the peaks. The display of the graph is 3 second. E.g. it detects 4 peaks first time and they are saved in the file, the next 3 second, it is supposed to save 8 peaks but it only save the second 3 second 4 peaks' locations and amplitude. Could anyone figure out what is the problem of it? Thanks in advance.
thanks for helping. I have the other problem is that I want the display as two columns, one indicates time and the other is amplitude. I need the time to be real waveform time. now it only displays within 3 seconds as graph displays. thanks