03-13-2012 09:22 AM
Hello,
I am making a VI, that is supposed to work as a filtering layer processing data from analog input channels configured programmatically.
Each channel has its own filter parameters.
I would like the data to be processed as fast as possible. However, the two solutions i found to do this, both work with a for loop.
I am not sure if this is the the best time efficient solution.
Thankfull for any suggestion.
03-15-2012 08:43 AM
Hello, that really depends what kind of filters you want to use.
On the following link you can see a filter that doesn't require for loop, tell me more about your application.
https://decibel.ni.com/content/docs/DOC-12964
Kind regards,
03-16-2012 02:31 AM
Also, can you tell me what are the requirements for your application? If you have a high frequency signal and you want to filter it very fast, the best way to make it on FPGA, where you will have a true parallelism and also high speed
03-26-2012 08:41 AM - edited 03-26-2012 08:43 AM
Thank you for suggestion. I allready have my hardware bought, so there is no way to implement FPGA in my application.
However, I solved my problem by distributing the amount of processed channels through each filtering VI based on the number of processors in the operating hardware, it works fine.
Image is just for ilustration, the filter coeficients, number of cores and all other variables are initiated and distributed
through shift registers