SimLeek / silverpak-syringe-pump

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

make "RUN" into "INITIALIZE" #7

Closed iroll closed 10 years ago

iroll commented 10 years ago

Right now the "RUN" button doesn't really seem like it's used for anything other than initializing the motor. Could you change it to be called "initialize" and have it reset the position, direction, etc of the motor to defaults?

SimLeek commented 10 years ago

Done.

Note: The initialize command now runs at the start of the program, but it does make a few rotations, and that's necessary for the motor to start. I want to take out the initialize button since I think it messes with the set max/min functions, and it's only really necessary at start up. Is it okay to remove the init button? Or should I set it back to waiting for the user to init, and if that's the case, can I name it 'RESET' instead? Also, if you still want to alert the user, can I make a dialogue that launches before the main one telling the user about the init function, since that will be easier than graying out everything until init is pressed? (Well, that's what I should be doing.)