LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2x1D array to one 2D

Hi guys,

I have some problem with connecting two arrays to one. So, i have 2x 1D arrays (both are the same size: 1x63), and what I want to do is create an 2D array (2x63) with variables from smaller arrays. 

0 Kudos
Message 1 of 5
(1,553 Views)

Hi kacpi,

 

when you want to build an array then you should use BuildArray…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,546 Views)

Yeah, i was trying but, it gave me somthing like this..

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

@kacpi wrote:

Yeah, i was trying but, it gave me somthing like this..


Next time attach your VI instead of a picture.

 

Did you try the basic LabVIEW tutorials?

 

  • You don't have two arrays, but two scalars as input to built array.
  • You are using an expanded shift register, but are not using its output.
  • There are missing wires.
  • What's the purpose of the FOR loop?
  • How big are the two arrays coming in?
  • Try to learn about autoindexing!
0 Kudos
Message 4 of 5
(1,506 Views)

Maybe something like this?

 

altenbach_0-1602584335173.png

 

Hint: if you can describe it in one sentence, it should not take a screenful of code!

 

Message 5 of 5
(1,501 Views)