LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

median filter

Solved!
Go to solution

Hi  I am studying on filtering 

My basic trial is from the txt file with 1D array,  with using median filter tool, resulting median filtered signal 

But it doesn't work which means it doesn't indicate on plot. I don't know why even it didn't occured error. 

Please let me know the reason. 

blockdiagram.PNG 

 

0 Kudos
Message 1 of 8
(4,919 Views)
You show that you are reading three separate files and you did not attach a single one.
0 Kudos
Message 2 of 8
(4,907 Views)

yes... other things are working but... last process is not working

0 Kudos
Message 3 of 8
(4,897 Views)
So why would you respond and still not attach the data files? Do you really want help? No one here should have to guess. Good luck with it.
0 Kudos
Message 4 of 8
(4,884 Views)

this is the data what I asked 

Download All
0 Kudos
Message 5 of 8
(4,868 Views)

Are you really reading the same file in parallel? Once would be enough. You can branch the wire later.

(If you are reading different files, you need to tell us what you are reading where)

 

Each of your IO trains containing four file IO functions followed by "spreadsheet string to array" could be replaced by a single "Read from spreasdsheet file". try it!

 

Your files contain only a single column, so you should create a 1D array instead.

 

Your "reshape array function creates a 1D array with a single element (the original element at (0:0). Filtering a 1D array with one element will not give you any interesting result. It is possible that you want to use "index array" getting the first columns of your 2D array as a 1D array.

 

 

0 Kudos
Message 6 of 8
(4,842 Views)
Solution
Accepted by topic author Strokedrat

Try something like this. Filter seems to work quite well:

 

 

(Note that read from spreadsheet file has changed in LabVIEW 2015, thus the red X over the icon. Just ignore that. Make sure to select "transpose" so you get the first column instead of the first row)

 

 

 

 

 

Download All
Message 7 of 8
(4,825 Views)

Thank you for every thing.  I knew that problem 

0 Kudos
Message 8 of 8
(4,773 Views)