// Script function: Get if autosurvey limits is on, which can be found at DigitalMicrograph > Display > Image info ... > Auto survey // Requirement: Open an 1-D (line) profile // Unless named starting with GlobalSino, EM, My, Self, the function commands are defined // by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html image GlobalSinoImage := GetFrontImage() showImage( GlobalSinoImage ) ImageDisplay EMDisplay = GlobalSinoImage.ImageGetImageDisplay(0) number EMLowSurvey, EMHighSurvey EMDisplay.LinePlotImageDisplayGetDoAutoSurvey( EMLowSurvey, EMHighSurvey ) // Get if autosurvey limits is on result ("Low Survey: " + EMLowSurvey + "\n") result ("High Survey: " + EMHighSurvey + "\n") result ("\n")