LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting from array when pressed a button from array

Hi guys. I need help too.
I want the moment I press a button to delete from the array the record with the index of that button. It only does this for one press, I want it to work continuously and to have the possibility to delete several records from the array, not just one. I leave you a picture with the diagram

0 Kudos
Message 1 of 8
(734 Views)

@Costin2001 wrote:

. I leave you a picture with the diagram


Where?

(We actually prefer the VI instead of pictures.)

 

A button does not have an index, so your description is not clear at all.

0 Kudos
Message 2 of 8
(729 Views)

Sorry! This is the image

0 Kudos
Message 3 of 8
(723 Views)

First of all, if things should repeat, you probably need a toplevel loop and a reasonable wait in it. You also need to adjust the boolean array so it keeps matching the size of the "array 2" (I could probably come up with a more intuitive label). You probably should also deal with the situation where all booleans are false of where more than one is true at any given time. For easy use, the elements of the two arrays should probably be of the same height.

 

Again, attach your VI, not a picture.

 

0 Kudos
Message 4 of 8
(704 Views)

This is the Vi

0 Kudos
Message 5 of 8
(699 Views)

Here's a "picture" of what I might do...

 

altenbach_0-1705345873220.png

 

 

0 Kudos
Message 6 of 8
(694 Views)

Thank you so much. I  would complicate myself with different methods...

0 Kudos
Message 7 of 8
(690 Views)

@Costin2001 wrote:

 I  would complicate myself with different methods...


I really don't know what that means....

0 Kudos
Message 8 of 8
(677 Views)