LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write data to array of strings in cluster by reference

Hi,

I have created a cluster that contains 4 arrays of strings and 2 boolean buttons.

I want to be able to write data in different elements of the string arrays but dont understand how.

I only manage to write data in the first element of the array. But i want to be able to reach all elements.

I want to write data by reference. 

Se attached VI for more info

WriteToArrayOfSTringsInCluster.png

 

Im sure someone has a nice solution.

0 Kudos
Message 1 of 5
(90 Views)

maxnoder1995_0-1765543135738.png

like this?

0 Kudos
Message 2 of 5
(78 Views)

Lets say i want to write data in array 1 at index 1 (10) and 3 (50)

How do i do that when using references?

 

tokar_0-1765544952108.png

 

0 Kudos
Message 3 of 5
(55 Views)

Hi tokar,

 

Would something like this be enough for your use ?

PinguX_0-1765546364748.png

 

0 Kudos
Message 4 of 5
(41 Views)

Writing to an array element ...

paul_a_cardinale_0-1765581184275.png

 

Will only write to one element, and you usually don't know which one (it's whichever on last has text focus).

0 Kudos
Message 5 of 5
(10 Views)