05-26-2014 02:23 AM
Hello, every one.
I make EMG monitoring system.
Use arduino for get the data and labview for signal processing.
My problem is Median power frequency function.
Biomedicla toolkit is so great. But, I don't understand instructions.
I get data through Labview interface for arduino.
This process is ok.
And I make array and insert Median power frequency in EMG.
Now, I don't know time-frequency sampling info and trimmed percentage.
My arduino ADC spped is 12.5KHz.
But, signal processing is waste time. So, actual speed is 1KHz around.
I don't make data file. I want to immediate processing.
So, arrange my problem, I want to information about time-frequency sampling info and trimmed percentage.
How make this element? Get me information, please.
In attach file, I attach my file. I use labview 2012.
P.S. Someone install labview interface for arduino, Then get in this address.
https://decibel.ni.com/content/groups/labview-interface-for-arduino
Thank you for reading my text.
05-26-2014 04:46 AM
hi,
time-freq sampling info specifies the density that this VI uses to sample the EMG signal in the time-frequency domain.
trimmed percentage specifies how this VI trims the spectrogram at high frequencies and at low frequencies before computing the MNF. If obvious noise exists at high frequencies or at low frequencies, use trimmed percentage to improve the accuracy of the MNF estimation.
If you don't know what these parameters mean, you can leave these terminals unconnected for LabVIEW to aumatically decide these parameters.
Now you are calling the EMG MDF VI in every cycle, while I recommend you only call this VI every time when you got enough number of samples (for example, 1 second).
There is an example for the EMG MDF VI, where you can find by click Help->Find Examples, then search for "EMG Spectrogram".