Adding more status flags and making the code more reliable
Adding a flag to tell the scan status. Now the beam profile aSub is only triggered when everything is OK
Adding a flag to tell the scan status. Now the beam profile aSub is only triggered when everything is OK