def __init__(self, **kwds): super().__init__(**kwds) self.reps = 10 self.test_actions = [ testActionsTCP.MoveStage(x=10.0, y=10.0), tcpTests.GetStagePositionAction1(x=10.0, y=10.0), testActionsTCP.MoveStage(x=0.0, y=0.0), tcpTests.GetStagePositionAction1(x=0.0, y=0.0) ]
def __init__(self, **kwds): super().__init__(**kwds) x = 10.0 y = 10.0 self.test_actions = [testActionsTCP.MoveStage(x = x, y = y), GetStagePositionAction1(x = x, y = y)]
def __init__(self, **kwds): super().__init__(**kwds) self.test_actions = [ testActions.ShowGUIControl(control_name="focus lock"), testActions.Timer(100), SetFocusLockModeAction1(mode_name="Always On", locked=True), testActionsTCP.MoveStage(x=10, y=0), testActions.Timer(200), CheckFocusLockAction2(focus_scan=False, num_focus_checks=6) ]
def __init__(self, **kwds): super().__init__(**kwds) # # We have to pause for 500ms so that the stage move watchdog # timer has a chance to go off. # x = 10.0 y = 10.0 self.test_actions = [testActionsTCP.MoveStage(x = x, y = y), testActions.Timer(500), GetStagePositionAction1(x = x, y = y)]
def __init__(self, **kwds): super().__init__(**kwds) # # We have to pause for 500ms so that the stage # a chance to update it's position. # x = 10.0 y = 10.0 self.test_actions = [testActionsTCP.MoveStage(x = x, y = y), testActions.Timer(500), GetStagePositionAction1(x = x, y = y), MoveStageAction1(test_mode = True, x = 0.0, y = 0.0)]
def __init__(self, **kwds): super().__init__(**kwds) directory = test.dataDirectory() self.reps = 1 # Initial setup. # # Lock focus. self.test_actions.append( tcpTests.SetFocusLockModeAction1(mode_name="Always On", locked=True)) # Load parameters. self.test_actions.append( testActions.LoadParameters( filename=test.halXmlFilePathAndName("256x256.xml"))) self.test_actions.append( testActions.LoadParameters( filename=test.halXmlFilePathAndName("256x512.xml"))) # Turn off live mode. self.test_actions.append(testActions.SetLiveMode(live_mode=False)) # Pause a second so that setup completes. self.test_actions.append(testActions.Timer(1000)) # Add loop parameters. for i in range(10): ## Position 0 # Move stage. self.test_actions.append(testActionsTCP.MoveStage(x=0.0, y=0.0)) # Check focus. self.test_actions.append( testActionsTCP.CheckFocusLock(focus_scan=False, num_focus_checks=30)) # Set parameters. self.test_actions.append( tcpTests.SetParametersAction1(name_or_index="256x256")) # Take Movie. self.test_actions.append( StandardDaveSequenceTakeMovieAction1(directory=directory, length=5, name="movie_01")) # Remove movie. self.test_actions.append( testActions.RemoveFile(directory=directory, name="movie_01.inf")) self.test_actions.append( testActions.RemoveFile(directory=directory, name="movie_01.dax")) ## Position 1 # Move stage. self.test_actions.append(testActionsTCP.MoveStage(x=10.0, y=0.0)) # Check focus. self.test_actions.append( testActionsTCP.CheckFocusLock(focus_scan=False, num_focus_checks=30)) # Set parameters. self.test_actions.append( tcpTests.SetParametersAction1(name_or_index="256x512")) # Take Movie. self.test_actions.append( StandardDaveSequenceTakeMovieAction2(directory=directory, length=5, name="movie_02")) # Remove movie. self.test_actions.append( testActions.RemoveFile(directory=directory, name="movie_02.inf")) self.test_actions.append( testActions.RemoveFile(directory=directory, name="movie_02.dax"))