-
Notifications
You must be signed in to change notification settings - Fork 44
Features/daqmove improvements #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5439446 to
62cdef5
Compare
seb5g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussion we should add a self.is_!aster clause in the close methods
| """Terminate the communication protocol""" | ||
| ## TODO for your custom plugin | ||
| raise NotImplemented # when writing your own plugin remove this line | ||
| raise NotImplementedError # when writing your own plugin remove this line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should add a self.is_master clause??
| def close(self): | ||
| """Terminate the communication protocol""" | ||
| ## TODO for your custom plugin | ||
| raise NotImplemented # when writing your own plugin remove this line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my other comment
| def close(self): | ||
| """Terminate the communication protocol""" | ||
| ## TODO for your custom plugin | ||
| raise NotImplemented # when writing your own plugin remove this line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my other comment
|
Commit d56df09 proposes a master/slave implementation in |
|
thks for this first PyMoDAQ PR |
4 small improvements:
NotImplementedtoNotImplementedErrorfor all instances indaq_moveanddaq_viewerfiles..stop_motion()code indaq_moveto set it the same as other methods in the class..axis_unitto explicitly set theDataActuatorunit used (for getting current value and for conversion before sending to controller methods) to the one configured in the class parameters..close(),.ini_stage()(daq_move) and.ini_detector()(daq_viewerxD)