06-29-2015 03:33 PM
06-30-2015 07:00 AM
Thanks. So from my understanding this could only be done with class?
06-30-2015 07:09 AM
Thanks but that's not exactly what I was looking for. Your buffer start adding from left to right instead of rigth to left. Your buffer works based on #samples, for example 5000= 1min. but I do appreciate the help.
06-30-2015 10:30 AM
Why do you want data to be added from right to left? Almost every application I have seen has data added from left to right. Also the time on the bottom of the wafeform graph is displayed from left to right. If you really need the data to go the opposite way you can pull it out of the waveform, use a "reverse 1D array" function, then put it back.
Yes, my buffer is based on the number of samples. If you want the buffer to hold samples from a known duration (say five minutes) you just take your duration and divide it by your sample period (e.g. .01 seconds) to get the number of samples to store (in this case 30,000).