03-02-2015 08:28 AM
hi all,
how to repeat array several times like [ 1 2 3 4 ] to [ 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 ......]
i know it's so simple because i'm new on labview
03-02-2015 08:32 AM
Several options here.
1) Build Array - It is expandable. Just extend it to the number of times you want to repeat your array. Right-click on the Build Array to make sure it is set to Cancatinate.
2) Use a FOR loop with a Cancatinating output tunnel. Make sure the input tunnel is not set to autoindexing. You then just set N to be the number of times you want your array repeated.
03-02-2015 08:34 AM - edited 03-02-2015 08:35 AM
Here is how it can be done. Using 2012 and newer there is new for loop terminal functions that make it easier.
If you want more free training on LabVIEW check out some of these links.
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
EDIT: This is what Crossrulz described
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord