-
Accessed None means there is no last index (I.E. the array is empty). Before you set LastBPMValue, throw a branch node in that checks if TestStructArray has a Length > 0.
-
It looks like it saves the CSV files odinally (1, 2, 3… 12). You can either keep track of the last number CSV you referenced with an integer variable and increase it by one each time you are ready to pull the data then convert the integer variable to string. Just pull out of the pin and type “to string”. If that doesn’t work for you, you could try out Rama’s BP plugin which has a “Get Files” function. Get all the files in the folder and figure out which one you want to read. If you only have the latest CSV files in that folder you could get the length of the Files array from that node, convert it to string and use that to get the file you need.
Rama’s Plugin is found here: (39) Rama's Extra Blueprint Nodes for You as a Plugin, No C++ Required!