SimLeek / silverpak-syringe-pump

Python library for controlling a Silverpak motor
2 stars 0 forks source link

make syring_motor serial class threaded #22

Open SimLeek opened 9 years ago

SimLeek commented 9 years ago

Some movement functions won't work until the previous ones have completed. For example, after initialization, it takes an unknown amount of time before it's possible to reset the position and turn backwards. Adding a queue and checking if the commands worked would make this easy.

Also, it would allow for multiple functions to handle the data received after one command. For example, one function could handle the status data while the other could handle the position data, which are both sent at the same time.