create new test algorithm  for scanning a sample. starts to write the cooled shoutdown for the camera