BIGFOOT (Cavity)
ShalikaSingh - 10:41, Wednesday 19 April 2023 (3234)
Increased Speed of measuring points per second

[Shalika, Marc]

 

OverviewThe speed of saving data/characterization is 80 Hz. 

 

Details:

 

We changed a "lot" of stuff. Techniquely we were removing everything one by one and seeing how they affected the speed. We did this with every single component in our VI. We were simultaneously optimizing speed by removing VIs which were not so important. Previously our speed was 8Hz, so we were acquiring 8 points per second. Now we have around 80 points per second, i.e 80Hz. 

 

Refer to Fig 1 for more details, but below are the most essential parts which helped optimize the speed. 

1. Temperature controller was extremely heavy. It doubled the speed when we removed it. We brought the control outside the main loop. 

2. We did the same with the Power meter and Polarization camera. 

3. And, we are now using global variables to access and save data in the main loop.  

Images attached to this report
3234_20230419033536_procedureforoptimizingcode.jpg