LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"In Place Element Structure" Comparison

Hi all,
 
Can any one tell me which one among the following figure is better in terms of efficiency and speed?.
 
Since the operation is very much required, and my data size is very huge... And ofcourse I am lacking in efficiency of the code(I am using the 2nd picture's code though).
 
Will it help converting the code to the one in first picture?
 
 
 
Download All
0 Kudos
Message 1 of 3
(2,840 Views)
  1. Show buffer allocations and count the black "dots".
  2. code both and run a bechmark.

I would guess that the inplace version provides no advantage at all. In this particular case, you feed it a waveform with an empty array on the left, so the array cannot be added "in place" anyway, because there is no room for it.

Just guessing, I don't have LabVIEW open at the moment for further investigation.

Message 2 of 3
(2,816 Views)

Yes Altenbach..

 you are right and even I thought so..

Fir an array with size of 9*99999, the "in place" code takes ~50ms where as normal one takes just ~3ms.

Just needed to confirm this...

If there are better idea than "in place".. they are most welcome

Thanks

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