cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Creating array

¡Resuelto!
Ir a solución

How to make array as shown in figure? In pairs of X and Y.

 

0 kudos
Mensaje 1 de 5
4.137 Vistas

Hi SSG,

 

basic LabVIEW knowledge:

1. Create a cluster, containing 2 elements named X and Y

2. Place that cluster in an array

 

Which of these two steps is a problem to you?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 2 de 5
4.120 Vistas

If you want to build the cluster from two 1D arrays of X and Y values, wire the arrays in to a For loop, build a cluster from the elements then output the cluster from the loop.  Ensure that indexing is turned on for both inputs and the output tunnel mode is also set to indexing (right-click on the tunnel to check or set the mode).

 

Andy

0 kudos
Mensaje 3 de 5
4.117 Vistas
Solución
Aceptado por SSG0484

Hi Psy,

 

or just use Index&BundleClusterArray.

No need for a FOR loop…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 4 de 5
4.113 Vistas

@GerdW

 

That's a very good point.  A function I so rarely use that I'd forgotton it was there.  Thanks for the reminder!

 

Andy

0 kudos
Mensaje 5 de 5
4.103 Vistas