01-15-2024 12:20 PM
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
01-15-2024 12:27 PM
@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.
01-15-2024 12:31 PM
Sorry! This is the image
01-15-2024 12:50 PM - edited 01-15-2024 12:52 PM
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.
01-15-2024 12:54 PM
This is the Vi
01-15-2024 01:00 PM - edited 01-15-2024 01:11 PM
01-15-2024 01:07 PM
Thank you so much. I would complicate myself with different methods...
01-15-2024 01:12 PM
@Costin2001 wrote:
I would complicate myself with different methods...
I really don't know what that means....