ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

from one array to another

Hi,
I have an array which produces random numbers and pass this list to another array. How can I select the numbers  from the first array, so that only 1 every let's say 5 goes to the second array? Thanks,
P.S Here attached is the VI
0 Kudos
Message 1 of 3
(2,636 Views)
The simplest way is to use Decimate 1D Array. You can expand this node so that it creates 5 output arrays. The first output will be every 5th element of the input array, starting with the first.


Message Edited by Marc A on 10-11-2007 09:02 AM

Message 2 of 3
(2,628 Views)

Thanks a lot Mark!

Valter

0 Kudos
Message 3 of 3
(2,621 Views)