LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Histogram PtByPt is very slow

I don't know why the General Histogram PtByPt.vi is so slow.  Using an uninitialized shift register and the General Histogram.vi I can implement the same functionality that runs at least 50 times faster processing the same number of points.  See my attached vi.  I wonder why the developers of the PtByPt vi didn't just use this technique.
0 Kudos
Message 1 of 3
(2,804 Views)

Hi ESD,

 

What VIs are you using to benchmark the code?

 

There are some differences in how both VIs are implemented.  For example, the Pt by Pt VI calls SubVIs, which will incur some overhead.  I am unsure why a different implementation is used.

 

This is probably a good point to mention the NI Idea Exchange (http://www.ni.com/ideas) and the Product Suggestion Center (http://digital.ni.com/applications/psc.nsf/default?openform) to suggest reimplementing the VI. 

0 Kudos
Message 2 of 3
(2,769 Views)

Sorry, I started this thread and then forgot about it.

 

 

Smootastic, I was just using the Performance and Memory Profiler.

0 Kudos
Message 3 of 3
(2,682 Views)