03-31-2017 02:48 AM
Good Morning cbutcher
first of all, thanks for your reply and editing my VI.
seems much easier now and cleaner than mine. However, I'm looking to save the values in the table, so no matter how much i'm stopping the program and running it, the value in the table should not removed until i decided exactly which row to delete.
so how can i save the data inside the table all the time.
and how can i delete the specific row, not the last value only.
PS: I use LabVIEW 2016 so no worries about what version do you send.
Thank you again
Regards,
03-31-2017 03:05 AM
In order to make your data persistent, you will probably want to consider some sort of file storage medium. This could, perhaps, involve a csv file or similar structure. In this case, you would write the file either each time you make a change, or perhaps more likely in the case you currently show, when the program ends (so, outside of the While loop and with a dataflow dependency, such as provided by an error wire or the shift-register output). In addition, you should open the file before the loop starts, and read then feed the results to the starting shift-register value.
An alternative and simpler method would be to remove your initialization constant and replace it with a local variable reading the indicator. This holds values over execution cycles, but I don't know how robust it is...
03-31-2017 03:10 AM
hey there,
I just solved the remove through creating a new case event for the table itself and uses an invoke node (point to row column) with unbundle by name for the (rows).
now i can delete the specific row.
i'm going to see what should i do with the add to save the data.
Thanks for helping me a lot.
you are rock 🙂
03-31-2017 03:12 AM
hey there,
I just solved the remove through creating a new case event for the table itself and uses an invoke node (point to row column) with unbundle by name for the (rows).
now i can delete the specific row.
i'm going to see what should i do with the add to save the data.
Thanks for helping me a lot.
you are rock mate