LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array creation and usage - part 2

Solved!
Go to solution

Darren wrote:

I'm surprised nobody mentioned the In Place Element Structure yet...it lets you modify the array element without making any extra copies:

 


Still can't have the output tied back to the input array. Smiley Very Happy

0 Kudos
Message 11 of 16
(968 Views)
The only use cases for that, though, are modifying data in a data store or a front panel control.  For the former, you would be reading from and writing to the same place (global, functional global, single element queue, etc.).  For the latter, you would be using a local variable.
0 Kudos
Message 12 of 16
(965 Views)
Guess sarcasm is a bit low on your radar detector on Friday, huh Darren? Smiley Wink
0 Kudos
Message 13 of 16
(961 Views)

smercurio_fc wrote:
Still can't have the output tied back to the input array.

 


That sounded like a question a text-based programmer would ask (and that a G programmer would ask sarcastically)...my response was for the benefit of text-based programmers stumbling upon this thread someday in the future.  😉

0 Kudos
Message 14 of 16
(950 Views)

Darren wrote:

smercurio_fc wrote:
Still can't have the output tied back to the input array.

 


That sounded like a question a text-based programmer would ask (and that a G programmer would ask sarcastically)...my response was for the benefit of text-based programmers stumbling upon this thread someday in the future.  😉


Ah, but in the utopian future there will be no text-based programmers. Hey, we can dream, can't we? Smiley Very Happy

0 Kudos
Message 15 of 16
(941 Views)

Darren,

 

Thanks, this is just what I needed. Hope everyone takes a look at the structure you linked to


Darren wrote:

I'm surprised nobody mentioned the In Place Element Structure yet...it lets you modify the array element without making any extra copies:

 

InplaceElementStructure.png


 

.

 

jvh 

0 Kudos
Message 16 of 16
(896 Views)