LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating real-time iEMG from raw data

Hello.
 
I am a novice in programming, and am hoping for some insight into this problem.  I have an EMG signal (eventually from DAQ, now from a file that was at one time recorded with LabVIEW) of which I have taken the absolute value.  I am stumbling in the integration of the signal, I believe the general format is to integrate it in segments and take some standard from the segment (RMS or max, i was thinking max) and then stringing them back together into a final signal.  After this I would do some more analysis that I already have worked out with simpler examples.  If more information is needed let me know.  Thanks for any help
 
PMN 
0 Kudos
Message 1 of 5
(2,915 Views)
so, i guess this subject line is bad or something. Thus, I figured I may as well put in some more general questions.  i think this is a looping problem, and that is where I will most likely need the guidance.
 
right now the EMG data is opened in a separate VI and then output into an oscilloscope and input in another VI, filtered and smoothed, and then the integration is needed, then I will pass it through a threshold/trigger system to determine when the EMG surpasses the determinant value to stimulate (my eventual end output)
 
-pmn
0 Kudos
Message 2 of 5
(2,903 Views)
Hello,

I would love to help, but I am not sure whether you question pertains to your situation with your emg signal, or whether it pertains to using particular functions in LabVIEW.  If you could clarify and respecify what your question is.

Thanks!
Kameralina

0 Kudos
Message 3 of 5
(2,876 Views)
Thank you fieldkam. 
 
But I worked on it a lot yesterday, and got some input and figured it out.  The problem was that the data coming into the vi was in too large of arrays (arrays of 200 elements at 1kHz) and the amount of data out from the integrator was only one. This resulted in a very "low resolution" plot of the integrated EMG.  Therefore I reduced the size of the arrays brought in by the program.  Thanks for the reply though,  happy belated dominion day.
 
pmn
0 Kudos
Message 4 of 5
(2,863 Views)
Thank you pmn!

And thanks for sharing your solution as well!
Kameralina

0 Kudos
Message 5 of 5
(2,833 Views)