DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Data reduction / resampling

Hello,

Hello,

 

I have using following setup to resampling data. My amplifier (HBM MX1615B and MX840) sends data to Dasylab witj sampling rate 1000 Hz (block size 100). For example I want to downsample data in dasylab I have averaged it by averaging module where I have global variable for amount of samples to average. But problem is that you can not use global variable for block size of output. So I set it to 1 and after average module I put window-module where you can use global variable. In case I want to downsample to 500 Hz, my variables will be 2 and 50. I have tested this litlle and everything seems t working fine but is there some possibilities that for example data can blocked?

 

 

MYMTEST_0-1607853764182.png

 

0 Kudos
Message 1 of 2
(1,828 Views)

The primary issue is that when the number of samples to average is small (such as 2), then the output will be releasing 500 blocks of size 1. 

The Data Window will then collect that, but, it is still a large number. You have a lot of channels, so there is a lot of data moving. 

 

See the attached. While running, click on the wire coming out of the Average and look at the Info area. The "FIFO blocks" and "Assigned FIFO blocks" will tell you if the program is able to keep up. The "Assigned FIFO blocks" should stay small. If it starts to grow and continues to grow, then eventually that FIFO will fill and you will get the data is blocked messages. 

 

The FIFO blocks setting is a fixed amount of memory, and DASYLab computes the number of blocks based on the block size. Because the block header always exists, the block size of one is very inefficient.

 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 2 of 2
(1,791 Views)