So I should instantiate a filter and set it to the sample rate that I am using to read data and set a 4 Hz filter.... I get that, but if I have a 2D array where the first index is the channel and the second index stores 100 readings for each channel, how will I implement the filter on that data without making individual arrays for each channel?
I need to do something like this... For each channel ('w'), I need to filter data (y,0-99).
Dim filter As New NationalInstruments.Analysis.Dsp.Filters.BesselLowpassFilter(1, 100, 4)
DataArray(w, ) = filter.FilterData(Task1Data(y, ))
But this is not acceptable VB syntax.
Any ideas?
Thanks!
Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI