LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why doest this not work??

Hello together,

please have a look on my blockdiagramm and tell why this does not work as i want.
 I would like to reset the array to zeros when the button say's False
The values "Kreisfrequenz" and "Wirkungsgrad" are mesured in a While loop. I Want to show them in a XY Graph, so i stak them in a Array and then a cluster.

I would like to do a reset of the Graph by clearing the Array.

Thanx for youre Help.


Download All
0 Kudos
Message 1 of 2
(2,612 Views)
One issue is that you're using the index of the while loop to insert data.  Since you're replacing the array with an empty array, the index is out of bounds.  You're also not resetting the other array either.

Instead of using Insert Into Array use Build Array and reset both arrays when your boolean changes.
0 Kudos
Message 2 of 2
(2,598 Views)