Biomedical User Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

EMG based DC motor control using labview

I have a project where i need to use my EMG data to control DC motor using labview.I've already got the EMG signal by using ADinstrument and import the signal to labview. The problem is i don't know how to make labview read my signal continously because in this project  i'm planning to move the DC motor when it detect the EMG signal exceed certain value and stop when it less that value. I'm still new with labview and i'm using labview 8.0. Can someone help me?thanx

Download All
0 Kudos
Message 1 of 3
(4,317 Views)

Hi Adiq - sorry for the delay responding.

Since your data is already collected and in a file, you need to index through the data file and feed the data into your peak detector VI using a For Loop.  I have modified your VI to show you how to do this in LabVIEW.  The LV For Loop will auto-index the array as it enters the For Loop structure.  You can slow the For Loop down so that it processes the data slower (closer to "real-time") by putting a delay ("Wait" timer) inside the For Loop.

Even better if you can acquire the data directly into LabVIEW and eliminate the AD Instruments box

0 Kudos
Message 2 of 3
(2,960 Views)

Hi S.E Johnson..currently i'm using labview 8.0..can you convert peak detection.vi in labview 8 because i can't open it..really appreciate your help..tqvm

0 Kudos
Message 3 of 3
(2,960 Views)