ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build 2d array

Solved!
Go to solution

Hello

I was wanting to build a 2d array with 10*10 element. So a total of 100 elements. The top left corner of the element is to be 0 and the bottom right is to be 10. Each element will increase from the last by 0.1 . Is there a way to build this quickly instead of filling in every value. I would like it to look like this.

 

0,0.1,0.2,0.3,0.4,0.5,............

1,1.1,1.2,1.3,1.4,1.5............

2,2.1,2.2,2.3,2.4......... and so on

 

Any Help would be appreciated

Thanks Craig

0 Kudos
Message 1 of 2
(2,865 Views)
Solution
Accepted by topic author Craig1988

Hi Craig,

 

using some basic math:

check.png

 

But in the mean time you should have typed an array constant instead Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,857 Views)