LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Incrementing Array pointers

You probably made a wiring error. Can you show us your new code?

 

(I assume you don't run this with the "continuous run" button. If you want to accumulate over several runs of the current code, you would need another while loop around it and initialize the shift register there.)

0 Kudos
Message 11 of 13
(480 Views)

I included this part in the code for the feedback loop node. Used a case statement which is true whenever the first run is detected. Hence the build array is fed zero at the start always which in turn frees up the feedback node.

 

 

Please have a look at it.

 

 

 

 

0 Kudos
Message 12 of 13
(478 Views)

This has nothing to do with what I suggested. Please look at my picture once more and try again. 🙂

 

  • move the shift register (or feedback node) out to the while loop.
  • Delete the FOR loop and its trimmings, it makes no sense!
0 Kudos
Message 13 of 13
(475 Views)