def main(): """Run a serial dilution demo.""" parser = argparse.ArgumentParser(description='Run a serial dilution demo.') add_argparser_transport_selector(parser) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop) batch.messaging_stack.run()
def main(): """Test the version protocol.""" parser = argparse.ArgumentParser(description='Test the version protocol.') add_argparser_transport_selector(parser) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop) batch.messaging_stack.run()
def main(): """Test the z-axis abstraction layer.""" parser = argparse.ArgumentParser( description='Test the z-axis abstraction layer.') add_argparser_transport_selector(parser) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop) batch.messaging_stack.run()
def main(): """Test the linear actuator protocol for a single actuator.""" parser = argparse.ArgumentParser( description='Test the linear actuator protocol for a single actuator.') add_argparser_transport_selector(parser) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop) batch.messaging_stack.run()
def main(): """Test the built-in LED protocol with an interactive prompt.""" parser = argparse.ArgumentParser( description='Test the built-in LED protocol with an interactive prompt.' ) add_argparser_transport_selector(parser) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop) batch.messaging_stack.run()
def main(): """Run the axes to test the linear actuator protocol for pipettor accuracy.""" parser = argparse.ArgumentParser( description=('Run the axes to test the linear actuator protocol for ' 'pipettor accuracy.')) add_argparser_transport_selector(parser) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop) batch.messaging_stack.run()
def main(): """Calibrate an axis's sensor positions to physical positions.""" parser = argparse.ArgumentParser( description= 'Calibrate an axis\'s sensor positions to physical positions.') add_argparser_transport_selector(parser) parser.add_argument('axis', choices=['p', 'z', 'y', 'x'], help='Linear actuator axis.') args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop, args.axis) batch.messaging_stack.run()
def main(): """Run a dashboard using the selected transport-layer implementation and actuator.""" parser = argparse.ArgumentParser( description='Perform PID tuning for the selected transport and actuator axis.' ) add_argparser_transport_selector(parser) parser.add_argument( 'axis', choices=['p', 'z', 'y', 'x'], help='Linear actuator axis.' ) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop, args.axis) batch.messaging_stack.run()
def main(): """Test batch scripted control of a linear actuator.""" parser = argparse.ArgumentParser( description='Test batch scripted control of a linear actuator.' ) add_argparser_transport_selector(parser) parser.add_argument( 'axis', choices=['p', 'z', 'y', 'x'], help='Linear actuator axis.' ) args = parser.parse_args() transport_loop = parse_argparser_transport_selector(args) batch = Batch(transport_loop, args.axis) batch.messaging_stack.run()