From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Biomedical User Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Question on selecting a segment of a graph to analyze on LabVIEW

Solved!
Go to solution

Greetings,

My final year thesis project would be develop a wireless EMG device via Bluetooth using an Arduino and an Amplifier Circuit. I would be using LabVIEW 2010 for the software to receive and process the EMG signal. So far I've been able to save the received data in LVM format and open and display the saved data for analysis.


What I would like to do is to be able to select a segment or portion of the signal to be displayed and also be able to perform analysis on that segment. A sample Font Panel (parts enclosed in red) is attached to illustrate what I want to achieve. Can you help me in this matter? What LabVIEW feature should I use?

0 Kudos
Message 1 of 4
(4,320 Views)
Solution
Accepted by ArvinB

Hi Arvin....

you can use the "Extract Portion of Signal VI"... it is in the Signal Manipulation Palette. you can "cut off" your signal.....

.... maybe you could help me too!!

I'm developing a muscle fatigue system, by analisys of SEMG. I'm trying to implement the linear regression..... if you don't mind to try..... https://decibel.ni.com/content/message/28086#28086

Thanks and good luck.

Ramon Campos

0 Kudos
Message 2 of 4
(2,878 Views)

You can select a segment to be analyzed using either the graph cursors or any other control, such as a slider or numeric.  An example of this is in the code for the tutorial Managing Large Data Sets in LabVIEW.  The example shows how to select a segment from a larger data set and display it on another graph.  It uses sliders, one using a logarithmic scale, since it was designed for huge data sets.  You may find cursors more intuitive.  Use the event structure to get data from the cursors.

If you need further help, let us know.

Message 3 of 4
(2,878 Views)

Thank you for the posts guys.

0 Kudos
Message 4 of 4
(2,878 Views)