LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV Hellp LV 2009 error in "Using the In Place Element ..."

The highlighted text shown below should read "... makes a new copy of the array element ..."

 

This is illustrated in my re-write of the illustrated examples and using "Show Buffer Allocations" included below.

 

Only_Scalar_Duplicated.png 

 

THe balck arrows show where both code constructs have the same number of buffers. THe red arrow shows where a scalalr is being allocated.

 

I re-wrote the example since neither version should change the contents of the diagram constant so I gave them both a buffer (the Shift Register) to work in.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 1 of 3
(2,624 Views)

Is there any way to use this on an array instead of a single number?  Let's  say  I  want to replace a subset of an array say for instance, a circular buffer

 

Example.png

Tim
GHSP
0 Kudos
Message 2 of 3
(2,605 Views)

aeastet wrote:

Is there any way to use this on an array instead of a single number?  Let's  say  I  want to replace a subset of an array say for instance, a circular buffer

 

Example.png


 

According to the Show Buffer Allocations, this constrcut works 100% inplace.

 

 

Arrays_in_Clusters.png 

 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 3
(2,593 Views)