Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66814

Array data overwritten by null value

$
0
0

I am working on writing a VI that simulttaneously reads velocity and pressure, then records them on separate arrays.  Ran into a wall at about 90% of the way through.

 

The data (represented by the random numbers for testing's sake) comes into this central case loop then to an "add to array" VI.  Here is where it gets sticky:  When I use a null value at the start of this array (top highlight) my data continuously gets overwritten on the "row 0" of the array every loop.  But when I leave out the null value (bottom highlight) my data is added to the array just fine, but when I stop the entire VI and restart it, the new data values are just added to the bottom of the array.  Any help would be appreciated.

 

Forgive my caveman drawings of a VI, learning the system on my own, and just getting to the optimization point.  Thanks!

 

-Powderman

Array Issue.JPG


Viewing all articles
Browse latest Browse all 66814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>