Example #1
0
def OnStart():
    global output
    data_dir = microscope.GetUserDataDirectory()
    output = microscope.ShowSimpleFileSequenceSaveDialog(data_dir)

    if output != None:
        print "Saving to directory ", output[0]
        print "Filename Format ", output[1]
    else:
        print "Aborting Timelapse"
        microscope.AbortTimeLapseVisitPoints()
Example #2
0
def OnStart():
    print "Start: Region Move and Save"
    global output
    data_dir = microscope.GetUserDataDirectory()
    output = microscope.ShowSimpleFileSequenceSaveDialog(data_dir) # This is really geared to regions and does not have the %. options
        
    if output != None:
        print "Saving to directory ", output[0]
        print "Filename Format ", output[1]
    else:
        print "Aborting Timelapse"
        microscope.AbortTimeLapseVisitPoints()
Example #3
0
import microscope, MicroscopeModules

data_dir = microscope.GetUserDataDirectory()
output = microscope.ShowSimpleFileSequenceSaveDialog(data_dir)

directory = output[0]
filename = output[1]
filename_ext = output[2]

print "Saving to directory ", directory
print "Filename ", filename
print "Filename Extension ", filename_ext

action = MicroscopeModules.RegionScan.SAVE_DISPLAY

rs = MicroscopeModules.RegionScan()

rs.SetRelativeRoi(5000, 5000)
rs.Start(action, directory, filename, filename_ext)