A few more small mods to the sensing matrix script. Now the script saves the data after each measurement, so that in case you lose lock and can't measure any more, you still have the data you already measured. Also, the error bar measurements are last, so that the consequence of losing lock partway through the measurement is just that you get fewer error bar numbers. Not a big deal, since the actual sensing matrix data is already saved.
Also, the old script had a lockloss checker that I had overridden since it wasn't where I wanted it. I have now re-implemented it, so that the script will stop the oscillation and quit measuring if either the LSC enable switch is off, or the degrees of freedom you're trying to measure are not triggered. All data saved before the lockloss is saved though (as mentioned above). |