Discusiones sobre Productos NI

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

Introducir columnas en subarray

Buenas, estoy trabajando con un archivo con 3 columnas y 700 filas y al final descompongo con un subarray para tomar cada columna por separado, pero en el index cuando pongo por ejemplo el elemento 0 me lo lee como una fila y necesito cambiarlo para que lo lea como una columna. Agradecería ayuda.

0 kudos
Mensaje 1 de 2
1.360 Vistas

Hi Goku,

 

please ask English questions in this forum…

 


@GokuJubilao wrote:

Good, I am working with a file with 3 columns and 700 rows and in the end I decompose with a subarray to take each column separately, but in the index when I put for example element 0 it reads it to me as a row and I need to change it so that it read as a column. I would appreciate help.


When you get rows instead of columns then you did something wrong.

Unfortunately you forgot to attach your VI!

 

Indexing arrays is very basic LabVIEW stuff: did you note those "Trinaing resources" in the header of the LabVIEW board?

 

(Most probably you have to use a different input of IndexArray to get a column instead of a row. Or transpose the array before using an autoindexing FOR loop!)

 

Best regards,
GerdW


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