11-14-2010 09:20 AM
I want to make a buffer for displaying graph with limited sample size like a size of history in a chart.
Using Delete From Array.vi, I realize the buffer but slow performance with large array input (upto 2MS/s).
Can you suggest any new routine for fast buffering (simple ring buffer)?
labmaster
11-14-2010 05:12 PM
Your code makes no sense. Why don't you attach an actual VI instead of an image?
Is this a subVI? How is this used? What does "delete from array" have to do with a history buffer???
What is "large"? 2MS/s is a rate, not a size. (2MS/s for 1 micosecond is pretty small, but 1S/s for a century would be pretty big. ;))
In order to keep performance high, you need to avoid array resizing and unnecessary extra data copies.
We clearly need more information.
11-15-2010 02:42 AM
11-15-2010 07:17 AM
I found my solution. It's not related to the buffering.
When I used "Variant to Data" in high speed (2MS/s) acquisition, the performance was very slow then overflow.
labmaster.