08-08-2013 08:09 PM
Hi, I have an array that has 50 elements ( 0 and 1) . I would like to add 3 zero after every 5 elements . As below for the first 10 elements
10101010111111101001 should become 10101010110001111101001000
could you please help me on this one ? I would greatly appreciate if youd attach the code for it
thanks
08-08-2013 08:48 PM
This seems to do it. If you have an older version of LV which does not have the Concatenating Tunnel option, you can concatenate with Build Array.
I used controls for the Interval and Number of Zeros to make it more versatile if you ever need to change the parameters.
Lynn
08-08-2013 10:01 PM
Isn't For loop better choice...??
08-08-2013 10:36 PM
Approach with for loop 😄