Here is a summary of some suggested changes to the tutorial so that future users will better understand how to define a device and set up alabos:
- The terminal that is used when running commands should be inside the Python virtual environment, not the one on your laptop
- Use the pip install e- . command in the alabos folder after installing alab_control
- Run the commands SIM_MODE_FLAG=TRUE, alabos setup and alabos launch before running the box_furnace.py file
- In the box_furnace.py file, here is some code that could be run as an example to test its error handling:
furnace = BoxFurnace(com_port_id="COM3", name="box_1")
add_device(furnace)
furnace.connect()
furnace.run_program([[25, 50, 2]])
Here is a summary of some suggested changes to the tutorial so that future users will better understand how to define a device and set up alabos:
furnace = BoxFurnace(com_port_id="COM3", name="box_1")
add_device(furnace)
furnace.connect()
furnace.run_program([[25, 50, 2]])