You make the upper section as a subvi, with the shift register inside it.
You then run that part only when you want to update the table. There is an input - iteration that you can use connecto the iteration of the main loop i, so in the first iteration, it will start the array and then every time you want it to run, it will update the table.
If you want that part of the code to run in a different rate as the main loop, you can then implement other mechanisms to make it run at the rate you specify.
There is one point to consider, the datalogging part may use too much memory if you make it auto growth. You can define a time size for string array, or keep ading the data log data into a file, adding just the latest data, instead of saving the whole table every time.
RKO