LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filtering Data Points

Hi! I am fairly new to LabView and I am working to filter data points for a motion capture system. I understand that there are filters on LabView, but I am not familiar with them to know what the correct usage would be. I attached the raw data below. The goal is to filter out body parts, for example the R.ASIS, L.ASIS and V.SACARAL. I will be using the XYZ coordinates of each point to find joint angles. At the moment I am not sure the best way to filter the data. Any help or tips would be appreciated. Thank you!

0 Kudos
Message 1 of 6
(1,303 Views)

This is a pretty vague question since you have attached no LabVIEW code at all, but the usual method of filtering data in LabVIEW is to put each piece of data into an array, and then run that array through a FOR loop with a conditional output to do the filtering.

 

See this NI page:

https://www.ni.com/docs/en-US/bundle/labview/page/lvhowto/condacc_valuesnloops.html

 

For better help, try some coding, then post that here if you have problems.

0 Kudos
Message 2 of 6
(1,280 Views)

I do currently have a code which I will attach below along with the text file of what I am using. The code itself does not have anything with filters yet because I am unaware with how to separate it. Let me know if this helped at all. Thanks!

Download All
0 Kudos
Message 3 of 6
(1,275 Views)

@mbel wrote:

I do currently have a code which I will attach below along with the text file of what I am using. The code itself does not have anything with filters yet because I am unaware with how to separate it. Let me know if this helped at all. Thanks!


I ran the VI and it does something, what do mean by 'separate it' Do you mean by row and column? Maybe the best thing to do is to load the data into arrays that you can see and verify position then combine them in a plot based on which X and Y values you need to see. see updated main.vi

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 4 of 6
(1,249 Views)

By separate I mean that I need to take groupings of 3 ( ex: rasis, lasis, vsacaral) and take their xyz coordinates, and then find the joint angle from them. Right now I am not sure the best way to get the 3 data sets alone. If I was looking for just one group of 3 I would understand reading by column and row. The problem is that there are 41 data sets and I don't want to have to write 41 separations. 

0 Kudos
Message 5 of 6
(1,242 Views)

OK, see main XYZ and name.vi

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 6 of 6
(1,236 Views)