#        'profile': True, # Whether or not to profile this substrate
#        'profile-spacing': (25, 25),# Spacing between profile points
#        },
#}
axes = ['A', 'B']  #The axes that will be used in this experiment

# Create the AerotechAutomator instance with axes and substrate info
automator = AerotechAutomator(axes=axes,
                              #substrates=substrates,
                              )

automator.setup(
)  # setup() method must be called to connect to the printer and sensors
#automator.automate() # this call performs all the steps for a full automation

automator.zero_all_nozzles()
automator.find_alignment_grooves()
automator.find_z_ref()
automator.go_to_heaven()

#------------------------------------------------------------------------------
# RTruby, 2014.09.10 - Code below commented out during Experiment C-95:
#
#automator.save_state('automation_values.json') # save all the collected data to a file
#
# Code below added when previous code was commented out:
automator.save_state(
    r"C:\Users\Lewis Group\Documents\GitHub\ClosedLoop\automation_values_ADV.json"
)
#-----------------------------------------------------------------------------
automator.teardown()  # disconnect from the printer and sensors
示例#2
0
#        'origin': (176, 112), # Lower left of substrate (or point anywhere on substrate if size='auto')
#        'size': 'auto', # Size of substrate. If set to 'auto', the size is detected automatically
#        'profile': True, # Whether or not to profile this substrate
#        'profile-spacing': (25, 25),# Spacing between profile points
#        },
#}
axes = ['A', 'B'] #The axes that will be used in this experiment

# Create the AerotechAutomator instance with axes and substrate info
automator = AerotechAutomator(
    axes=axes,
    #substrates=substrates,
)

automator.setup() # setup() method must be called to connect to the printer and sensors
#automator.automate() # this call performs all the steps for a full automation

automator.zero_all_nozzles()
automator.find_alignment_grooves()
automator.find_z_ref()
automator.go_to_heaven()

#------------------------------------------------------------------------------
# RTruby, 2014.09.10 - Code below commented out during Experiment C-95:
#
#automator.save_state('automation_values.json') # save all the collected data to a file
#
# Code below added when previous code was commented out:
automator.save_state(r"C:\Users\Lewis Group\Documents\GitHub\aerotech_automation\automation_values.json")
#-----------------------------------------------------------------------------
automator.teardown() # disconnect from the printer and sensors
#        'origin': (176, 112), # Lower left of substrate (or point anywhere on substrate if size='auto')
#        'size': 'auto', # Size of substrate. If set to 'auto', the size is detected automatically
#        'profile': True, # Whether or not to profile this substrate
#        'profile-spacing': (25, 25),# Spacing between profile points
#        },
#}
axes = ['A', 'B'] #The axes that will be used in this experiment

# Create the AerotechAutomator instance with axes and substrate info
automator = AerotechAutomator(
    axes=axes,
    #substrates=substrates,
)

automator.setup() # setup() method must be called to connect to the printer and sensors
#automator.automate() # this call performs all the steps for a full automation

automator.zero_all_nozzles()
automator.find_alignment_grooves()
automator.find_z_ref()
automator.go_to_heaven()

#------------------------------------------------------------------------------
# RTruby, 2014.09.10 - Code below commented out during Experiment C-95:
#
#automator.save_state('automation_values.json') # save all the collected data to a file
#
# Code below added when previous code was commented out:
automator.save_state(r"C:\Users\Lewis Group\Documents\GitHub\ClosedLoop\automation_values_ADV.json")
#-----------------------------------------------------------------------------
automator.teardown() # disconnect from the printer and sensors
        
        

################ Full Setup Run
reference_nozzle = 'A' 


#setup(ref = reference_nozzle, move_to_ref = True)

#########

################Rezero some nozzles but use the rest of the old info ###
automator.setup()
automator.load_state(r"C:\Users\Lewis Group\Desktop\Calibration\alignment_data.txt")
automator.zero_nozzle('A')
automator.save_state(r"C:\Users\Lewis Group\Desktop\Calibration\alignment_data.txt")
g.direct_write = True
g.abs_move(x=automator.substrate_origins['slide1'][reference_nozzle][0], y=automator.substrate_origins['slide1'][reference_nozzle][1] + 5)
#g.abs_move(**{reference_nozzle:(automator.substrate_origins['slide1'][reference_nozzle][2]+ 0.2)})
g.direct_write = False

# 
#automator.setup()
##automator.load_state(r"C:\Users\Lewis Group\Desktop\Calibration\alignment_data.txt")
#automator.rezero_nozzles(['A','B','C'], alignment_path=r"C:\Users\Lewis Group\Desktop\Calibration\alignment_data.txt", cal_file=True)

## Reset zeros ############


#automator.substrate_origins['slide1']['B'][2]
示例#5
0
#        'profile': True, # Whether or not to profile this substrate
#        'profile-spacing': (25, 25),# Spacing between profile points
#        },
#}
axes = ['A', 'B']  #The axes that will be used in this experiment

# Create the AerotechAutomator instance with axes and substrate info
automator = AerotechAutomator(axes=axes,
                              #substrates=substrates,
                              )

automator.setup(
)  # setup() method must be called to connect to the printer and sensors
#automator.automate() # this call performs all the steps for a full automation

automator.zero_all_nozzles()
automator.find_alignment_grooves()
automator.find_z_ref()
automator.go_to_heaven()

#------------------------------------------------------------------------------
# RTruby, 2014.09.10 - Code below commented out during Experiment C-95:
#
#automator.save_state('automation_values.json') # save all the collected data to a file
#
# Code below added when previous code was commented out:
automator.save_state(
    r"C:\Users\Lewis Group\Documents\GitHub\aerotech_automation\automation_values.json"
)
#-----------------------------------------------------------------------------
automator.teardown()  # disconnect from the printer and sensors