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: 

loop array one by one

Solved!
Go to solution

@H7N wrote:

 


Whatever you have attached seems incorrect based on the earlier problem description:

 

  1. Your loop completes in nanoseconds, so the stop button is useless.
  2. Since the maximum number of iterations is known, a FOR loop is more useful.
  3. Your code DOES NOT update the output interactively. It is a one-shot deal.
  4. What is the size of the input array? If you want to process all elements, simply get rid of all code and place a +1 on the array wire.
  5. If the input array is larger, use "reshape array" to truncate, then add one.
  6. there is a "+1" primitive.

Did you really attach the code you intended to show us?

0 Kudos
Message 11 of 11
(879 Views)