def OnStart(): global output data_dir = microscope.GetUserDataDirectory() output = microscope.ShowFileSequenceSaveDialog(data_dir) if output != None: print "Saving to directory ", output[0] print "Filename Format ", output[1] else: print "Aborting Timelapse" microscope.AbortTimeLapseVisitPoints()
def OnStart(): global output print "Stage Position, ", microscope.GetStagePosition() print microscope.GetTimeLapsePoints() data_dir = microscope.GetUserDataDirectory() output = microscope.ShowFileSequenceSaveDialog(data_dir) print "Saving to directory ", output[0] print "Filename Format ", output[1]