LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous decimation with uneven amount of samples

Hello and again thanks for following this discussion.

Array of clusters of 1D array - would be nice to do the code in parallel instead of this monster but I cannot. In this example I used 3 channels with three different decimation factors. In the real world I write universal measurement application so the user can select five, three, 32 channels and I cannot write separate code for each channel so I will have to stick with cluster array of 1D array
LV 2011, Win7
0 Kudos
Message 11 of 14
(636 Views)

Hi,

 

Understand. Now, your concerns are acceptable... I didn't ask for background, I couldn't have known it.

 

How about doing decimation in paralell, even if it seems to be difficult?

I think you can call decamtion.vi upto 32 times in paralell. Let's think about that: you open vi reference >> set the vi reentrant >> use property nodes to load values to the inputs >> use invoke node and don't open front panels.

You can set the number of channels on the user interface and you run a case-structure with the matching number of calls.

 

What do you think?

 

Matyas

Message 12 of 14
(612 Views)
Well it might work. The problem would be that now I store the information of the redundant part of the array in the Action Engine and if I made it reentrant I would have to store it somewhere else. I think for now it seems to work good enough as it is. Frankly speaking I don't even need the build array/ functionality since I always process, display and then write each data set and I don't have to append it to store the whole array in memory. Thanks Matyas for helping me. I highly appreciate that!!! Thanks.
If anybody has different implementation of the decimation algorithm itself (decimation core) I would be glad to compare the efficiency.
LV 2011, Win7
0 Kudos
Message 13 of 14
(606 Views)

Hi Ceties!

 

Once, I tried and now I am trying again... 🙂

... to encourage you using local technical support.

There are professional engineers - in your mouthertounge - whom you can call everyday during business hours. They can answer your questions anytime with the highest priority and have all the resources to help resolve your technical issues.

You can call your local tax free number, write e-mail to techsupport@ni.com (local language) or use ni.com/ask to filter your questions and immediately search within KBs, forum topics, articles, tutorials and ...etc.

At the end of the day, our engineers record your service requests write KBs from those and share the solutions with others. That is how the loop is closed.

 

Certainly, in some cases the best choice is to open a forum topic.

I just wanted to raise your awerness of the opportuinites exist.

 

Thank you very much!

Have a nice day!

Matyas

0 Kudos
Message 14 of 14
(590 Views)