I am developing a VI which reads data, using the 'Read Data [Channel]' block, from a 'Open Data Storage [MATLAB]' block. There is a total of four channels and I have a very high number of data samples per channel which I am importing (order of millions). I wish to reduce this by only taking in every (n)th data point in each channel. Does anyone have any suggestions as to how this can be achieved?
Continuously decimates the input sequence X by the decimating factor and the averaging Boolean control. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.
Read your data in blocks , pass it through the decimate vi and work with the reduced data.
If you are not directly storing the smaller data blocks, try to allocate the data arrays first and use the inplace structure to avoid to run out of memory due to continous memory reallocation of the increasing array.