LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D array to cluster of 2 elements

Hello,

 

In my program I use a cluster of two 1D-array : X array, and Y array. (cluster of 2 elements).

 

I want to create spreadsheets with X and Y values (in 2 rows) and import it from .xls to labview, to use in my cluster.

 

The problem is that the VI "Read from spreadsheet file.vi" give me a 2D-array, where I would like two 1D-array to put it in my cluster.

 

Do you know how to convert this, or another way to get what I want ?

 

Thanks in advance !


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 1 of 5
(3,441 Views)

Ok I was unable to use Index Array, but now it's ok.. 

Sorry for wasting your time reading 🙂


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 2 of 5
(3,439 Views)

Arg, still not OK. It looks like the function is designed to read ROWS.

 

And I need to read COLUMNS (i was wrong in my first message).

 

Does anyone know how to do please ?


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 3 of 5
(3,419 Views)
Example_VI_BD.png
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 4 of 5
(3,406 Views)
Also, when wiring a 2D array into Index Array, there are two inputs: row index or column index. Thus, you could just wire a value into the column index to peel off a column. Please review the documentation on Index Array.
0 Kudos
Message 5 of 5
(3,381 Views)