ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

filter array

I have 4 inputs channels, each containing 8 values (32 channels), and I want to meanfilter each channel all with the same filterlength...I know this seems like a very newish question, but in that case, the reply should be realtivly easy too 😉
 
see image for details
0 Kudos
Message 1 of 11
(4,211 Views)
Duplicate post

If you need to add more info you can either "Edit the post" or post a reply to your previous post.


Message Edited by Support on 12-04-2007 11:40 AM
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 11
(4,195 Views)
look at the times, they were posted simultaneously, could not find a delete, flagged it to the moderators...sorry
0 Kudos
Message 3 of 11
(4,190 Views)
Hi all,

I removed the duplicate post, so I am sure Tohatsu would appreciate any help given on this thread.

Regards,
Laura
Web Support & Operations
National Instruments
Message 4 of 11
(4,165 Views)
You could use the point by point VI in the Signal Processing palette.
Regards,
André (CLA, CLED)
0 Kudos
Message 5 of 11
(4,132 Views)
Yes, and that is what I've been doing for testing puropses, but I dont want 32 of them lying around in my VI...but maybe that's the only solution?
0 Kudos
Message 6 of 11
(4,089 Views)
Repetitive task with a fixed number of iterations typically call for a FOR loop and one instance of the code. Could you show a bit more of your VI or even attach it?
0 Kudos
Message 7 of 11
(4,082 Views)
0 Kudos
Message 8 of 11
(4,070 Views)
Bump
tried some for-loops, but it seems I must be doing something wrong...cause all the data is just messed up with this method.
 


Message Edited by Tohatsu on 12-17-2007 02:49 AM
0 Kudos
Message 9 of 11
(4,036 Views)
The NI pt-by-pt mean filter is reentrant, so using it in a FOR loop on 32 channels will not work as expected.  You would still need 32 instances, one for each channel.
 
The pt-by-pt meanfilter is a plain VI, meaning you can modify it for your own purpose. Make a copy of it under a new name and change it such that it takes an array as input and will do a meanfiltering operation on each element (channel). Shouldn't be too difficult. 🙂
0 Kudos
Message 10 of 11
(4,011 Views)