LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

index 1D array of dynamic data

Solved!
Go to solution

HI.

I have 2 dynamic data wires. Basicaly, i want to access each element of two, with one function (module) in a moment.

I use build array, and with a probe i can see for wire 1 (elements : x1,y1,z1,....), and for wire 2 (elements: x2,y2,z2,....).

 

Now, i want to use a function (module) good enough to select for example y2 from wire2  and  z1 from wire1.

thanks.

0 Kudos
Message 1 of 5
(3,057 Views)

Do you have any code? Do you have any data something that we can look at to try and help? What have you tried so far?

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

do you have multiple 1D arrays?

0 Kudos
Message 3 of 5
(3,036 Views)
Solution
Accepted by topic author dsasorin

hei , i got it !!

i used 3 build array  and 1 index 2D array. Innitialy, i put merge signals instead of build array, so i was stucked there.

Thanks for being around.

Here is a vi. My project is more complex, so i made an example for you. (LV 2010)

 

Could it be done simplier ?

0 Kudos
Message 4 of 5
(3,024 Views)

Yes it could be done simpler..

 

Have a look at the snipet below.  No need for a while loop if you wire TRUE constant to the loop condition.

Why not simply have a 2D array Control..?

0 Kudos
Message 5 of 5
(3,011 Views)