LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create array of 2D

a need create a array of 2D entering whith one element whit 2 "struct for" indexed. How to create?
0 Kudos
Message 1 of 6
(3,026 Views)

Hi chiliwilyx,

use the initialize array function or create an array constant. You should also visit the free courses at ni.com.

 

Mike 

0 Kudos
Message 2 of 6
(3,024 Views)
Hi MikeS81, I understand you but after create the array i need sing in for exmple one element into of this array. I think than to some block entering parameters like 'row, col and the element'. You understanding?
0 Kudos
Message 3 of 6
(3,021 Views)

Hi chiliwilyx,

 

you want to "sing"? I can hear music...

 

Back to topic: have you looked at the array palette? There's a replace function to - ahem - replace array elements given by their indices :smileyvery-happy:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,016 Views)
jajajaj my inglish is very bad jajaja anyway
0 Kudos
Message 5 of 6
(3,011 Views)
  1. place an empty array container on the front panel.
  2. Drop a numeric control inside it.
  3. Resize the "index display" downward so it shows two dimensions. (or right-click it...add dimension).
0 Kudos
Message 6 of 6
(2,997 Views)