NI Home > Community > NI Discussion Forums

Life Science

Showing results for 
Search instead for 
Do you mean 
Reply
Active Participant
kmous
Posts: 319
0 Kudos

electromyography EMG

Has any one made a sort of VI to measure EMG signals ?

Electromyography (EMG) measures the response of muscles and nerves to electrical activity. It's used to help determine muscle conditions that might be causing muscle weakness, including muscular dystrophy and nerve disorders.

How Is an EMG Done?

Muscles are stimulated by signals from nerve cells called motor neurons. This stimulation causes electrical activity in the muscle, which in turn causes the muscle to contract or tighten. The muscle contraction itself produces electrical signals.

For the purpose of EMG, a needle electrode is inserted into the muscle (the insertion of the needle might feel similar to an injection). The signal from the muscle is then transmitted from the needle electrode through a wire (or more recently, wirelessly) to a receiver/amplifier, which is connected to a device that displays a readout.

any help ? just wanna know if someone did that before so that i can at least take some advices !!!

any examples on how to do that ?

LV 8.2
Member
Steve.J
Posts: 195
0 Kudos

Re: electromyography EMG

Hi there,

EMG signals are relatively small (microvolt to millivolt level, depending on electrodes and placement) and have energy up to about 1kHz or so.  Typically EMG amplifiers have differential inputs (to reject the high common-mode noise typically due to AC line frequency interference), galvanic isolation (to protect the subject from shock), bandpass filtering (to reject DC electrode offsets and movement artifact), and a gain of about 1000.  These amplifiers are commercially available from a number of suppliers in the US and around the world (try Google).  Often the outputs of these amps are single-ended 0-5V or similar and ready to be acquired by a DAQ board.  You cannot directly acquire EMG (or any biosignals) using a DAQ board for both technical and safety reasons.

For gross EMG (EMG recorded from a small region vs. a single motor neuron or motor unit) the signal "envelope" is what the researcher or clinician is interested in - basically, the signal power.  The signal can be rectified (take absolute value), then integrated to get total area under the curve.  If you do this, you need a way to reset the accumulated signal to zero (periodic reset or with a constant "decay" or time constant).  Or you can use LabVIEW's frequency domain analysis functions (power spectrum, etc.) or Joint-Time-Frequency analysis tools for more quantititive analysis.  It all depends on what your trying to accomplish.  The bottom line is that NI's DAQ hardware and LabVIEW are great tools for acquiring and analyzing these signals.

Hope this helps!

Steve
Visit the NI Biomedical User Group at:
www.ni.com/biomedusers
Active Participant
kmous
Posts: 319
0 Kudos

Re: electromyography EMG

thank you for the info :smileyhappy:
I am new to labview (15-20 days ) only , do u have any small vi ready to start with ? how do i start with my VI ? from where ? i got all the equipement here and ready to start but i dunno how ...i found this and if u look at the bolck diagram i think that's what i need to do !!! do u have that VI ?
thank you
LV 8.2
Knight of NI
Dennis_Knutson
Posts: 34,357
0 Kudos

Re: electromyography EMG

As was already mentioned in this thread where you probably got that pdf, that VI is not available from NI. However, a lot of what that VI is doing, is just basic data acquisition. There is the DAQ Assistant and a large number of shipping examples that you can use to get started with acquiring some signals. That would be the firs\st step and any of the basic examples can be used for that. A very basic example such as Acq&Graph Voltage-Int Clk can be used to quickly acquire and display a voltage from multiple channels. Once you've done that, then you can add some of the other features such as filtering but you first need to get the signals into LabVIEW. Be sure to refer to Getting Started with DAQmx as well.
Active Participant
kmous
Posts: 319
0 Kudos

Re: electromyography EMG

do u think this example is the right one to start with my EMG ? .........will my signal be analog in this case ? 
LV 8.2
Knight of NI
Dennis_Knutson
Posts: 34,357
0 Kudos

Re: electromyography EMG

If you have equipment similar to what Steve mentioned (i.e. the analog amplifiers), then your signals will be analog and other than the DAQ Assistant, is as basic as it gets. Frankly, I don't how your signals could be anything other than analog but since you have not provided a list of equipment, it's all just speculation.
Active Participant
kmous
Posts: 319
0 Kudos

Re: electromyography EMG

Yes they have everythink here so u think if i connect my EMG amplifier to my Ni 9205 module (because it is analog device) i can simulate the signal with that basic example ? thank you
LV 8.2
Knight of NI
Dennis_Knutson
Posts: 34,357
0 Kudos

Re: electromyography EMG

You want to simulate a signal now and not acquire an actual one? To simulate, you don't need any hardware at all. I don't know if there is a source for emg signals that you can input into your program. If you are familiar enough with what an emg signal is supposed to be, you can use the Simulate Arbitrary Signal Express VI.
Active Participant
kmous
Posts: 319
0 Kudos

Re: electromyography EMG

I am sorry i meant acquire an actual one by my word simulate !!! so what do u think ? is that VI a good one and maybe enough to acquire it ?
LV 8.2
Knight of NI
Dennis_Knutson
Posts: 34,357
0 Kudos

Re: electromyography EMG

As I've already said, the example is fine for you to get started.