project8 / dripline

Slow controls for medium scale physics experiments based on AMQP centralized messaging
http://www.project8.org/dripline
1 stars 0 forks source link

operation returned None #102

Closed laroque closed 9 years ago

laroque commented 9 years ago

In the case of a request which produces no response (perhaps a set without a corresponding get or other check) it should be the case that the reply has an error code indicating success (I think that this is true) and that dripline_agent or whatever may be printing to the user should give a more positive response.

laroque commented 9 years ago

I've changed the return message to say "operation completed silently"... I hope that this is more clearly indicates that the endpoint method has executed without error and has returned no value. This does mean that the python function call succeeded, but may not mean that the instrument has done what was intended (it may have returned no response because it hit an error or has reached some other limit... this cannot be done generally because it depends on the nature of the instrument's interface, it is on the user or device interface writer to execute confirmation checks if required)