06-01-2013 10:54 PM
Hi everybody,
I am doing a program controlling a simple robotic hand, which made from one servo, using sEMG. The hand is expected to open and close when the sEMG's RMS goes up and down the threshold. To determine this threshold, I do a separated tab called Calibration. It asks the user to open the hand for 3s, then close it for another 3s. The threshold is automatically calculated by averaging the maximum and minumum value in this 6s signal segment.
Still, I dont know how to extract any segment of a continuously acquiring signal.
06-03-2013 07:50 AM
How you extract your data from a continuously acquired signal depends upon what you want from the data and how you are taking it. If all you want is a max/min over a time period, do the following:
Let us know if you need more information. Please post your current code for future questions.