LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

to create a large vector usign a for loop

Hello!
 
I want to build a vector from 1 to 1500: 1, 2, 3, 4, 5......1500. I've tried to use a for loop but is so slow.....anyone knows a better (a faster) way to build it, using a for loop or using another block or structure.
 
Thanks!
Larson
0 Kudos
Message 1 of 5
(3,162 Views)
Hi Larson
i think the fastest way is using a for - loop

just have a look at my example

regards timo

0 Kudos
Message 2 of 5
(3,160 Views)
Hi Timo,
 
first af all thanks for helping me,,,,,but you can post the .vi in 7.0 labview version? I can't open it because is ina newer version..
 
Thank you!
Larson
0 Kudos
Message 3 of 5
(3,156 Views)
Message 4 of 5
(3,151 Views)
Hello together,

you can do this even simpler...


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 5
(3,139 Views)