11-13-2015 09:02 AM
Hi,
Ive been trying to build a 2D array using a for loop.
Seem to be having a problem with one of the arrays not clearing so i included a init array sequence to clear the arrays but it doesnt sort the problem (it will clear the displayed arrays (1d and 2d) but then the data reappears when i run the generate loop again.
Im working on this in an attempt to get 3 single values appended to a 2D array (incase theres an easier way of going about this).
Any help would be awesome.
Thanks in advance
Andrew
11-13-2015 09:22 AM
Read the help about shift register (and feedback loop) 😉 and use it instead of the feedback loop.
Oh, maybe you accidently created that feedbackloop ?
However that feedback will store data! (if you dont initialize it even from run to run ) 😄
Read the help about the event structure.... no need for the highspeed button loop, place the buttons into the related event case!
11-13-2015 09:24 AM
Thanks Henrik!, ill give that a go - thanks for the super fast response
11-13-2015 09:26 AM - edited 11-13-2015 09:27 AM
I think you want something like this
11-13-2015 10:56 AM - edited 11-13-2015 11:32 AM
All you need is a single while loop, an event structure with one single event case, e.g. as follows:
General comments:
11-16-2015 03:05 AM
Amazing help! Thanks for all of your responses - has been a huge help!
Thanks again,