Why am I Losing Data Between Loops When I Have Shift Registers

Updated Apr 24, 2018

Reported In


  • LabVIEW

Issue Details

My VI uses a while loop to collect data and add it to an array. I occasionally need to pause data collection so I use a case structure to switch to an empty case. I used shift registers to keep my data between loops but for some reason when I pause and restart my data acquisition I lose all of my previous data. Why is this happening?



The data could be getting lost because it isn't being wired through the false case of the case structure so it is getting erased every time the case is switched to false. In the image below the orange wire is the one that was not connected in the false case, connecting that wire solved this issue. 


Not Helpful