08-15-2023 11:13 AM
Hello everybody!
I've been working in this VI that reads, separates, and processes two different signals into arrays and saves them into .csv files. The issue that I'm having is that after a few runs, the VI won't clear the data from previous runs. This can be seen in the Pulse pressure and mean flow rate indicators (also in each max & min indicators). Also, even though this one happens randomly, the final .csv will also append the data even though I already specified the boolean constant as "False". I've also configured the VI to clear Waveform data before each run. VI attached below.
Solved! Go to Solution.
08-15-2023 11:58 AM
Elimiinate the uninitialized shift registers in the various FOR loops. (either initialize them with an empty array or rearchitect that entire mess into a proper state machine :D)
08-15-2023 12:16 PM
Thank you so much! Initializing with ZERO arrays worked just fine!