LabVIEW

cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Delete from array

Solved!
Go to solution

Hey,

 

  I was playing with on of th vi's on my desk top, i tried to change the code. I added a delete from array.

When I increase the num of lights the array size is not increasing which causes a wrong output.

How can I solve this problem thanks ๐Ÿ™‚

Best

Download All
0 Kudos
Message 1 of 2
(2,771 Views)
Solution
Accepted by topic author A.A.A.

Once you start the program, the array is sized according to the current number of lights and no amount of "delete from array" can make it larger until the setup state is again encountered. ๐Ÿ˜„

 

Try "reshape array" instead. If will trim or pad according to the new size.

0 Kudos
Message 2 of 2
(2,761 Views)