Array Manipulation Bug

You can post your problem related to LabView Projects here. We will try our best to help you out.
Joined:Sat Feb 18, 2017 9:02 am
Array Manipulation Bug

Post by Sean » Tue Mar 07, 2017 7:30 am

I''m running into an Array Manipulation bug that sometimes generates an extra element causing a bogus numbers to be added to the array for some odd reason. It doesn't do this all the time, but it does it sometimes. Which is of course is inconstant.

I can't quite see what I'm doing wrong, and why it is inconsistent results. There should never be a "0" in the array's, but it keeps showing up. But it only shows up if an extra element is added to the array. I tried to isolate it using Case statements, but both Array manipulation routines are doing it.

This routine example is intended to exercise Array mathematical operations. However these VI's are sometimes adding elements and inserting "0" at random times. How am I incorrectly using these Array Manipulation VI's?

Post Reply