SimLeek / silverpak-syringe-pump

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

Critical! Calibration data is global, not per pump! #18

Open iroll opened 10 years ago

iroll commented 10 years ago

The calibration data file (awesome) doesn't reflect that multiple pumps could have different calibration values (danger, will robinson!). Please update so that calibration data is associated with each pump address!

SimLeek commented 10 years ago

This will actually take longer than I thought.

Since we want to be able to switch between motor data when we switch between motors, that means I have to store that information in a class so it isn't read from a file every time. Adding that class, referring to it, and switching between different instances will take some rewriting.

SimLeek commented 10 years ago

Well, I'm done for today.

I almost have it, but the read xml function doesn't seem to be working right with the xml safe tags.

So I'm committing to my home repository until I have a working version.

SimLeek commented 9 years ago

This works now, as far as I can tell. I'll test it with the pump by switching addresses before I mark this complete.