Birefringence mitigation (General)
ShalikaSingh - 10:58, Monday 10 April 2023 (3223)
Producer Consumer Loop
[Shalika, Marc]
 
We added a producer-consumer loop to synchronize our data creation and for saving(in two different while loops) respectively. This is also to make our VI faster. We also use the same method to display data.
 
The logic is that in the data production loop, our element gets loaded("queued") and gets off-loaded in the consumer loop("dequeued"). This creates a synchronized memory allotment in labview as the consumer loop will run only after the producer loop. This saves us from random race for memory allotments in labview. 
 
Also, we can now see the time between two loops and use it to understand the resolution of our data.