nanoporetech / minknow_api

Protobuf and gRPC specifications for the MinKNOW API
Other
50 stars 12 forks source link

Incomplete shutdown of MinKNOW experiment when initiating the call from the API (Windows) #21

Closed nodrogluap closed 3 years ago

nodrogluap commented 3 years ago

Calling the shutdown function (with any of the three mode options) of the MinKNOW C++ API appears to cause the device to stop (no fan noise, red light on the device), yet in the latest UI the state is still "sequencing", and the voltage chart still shows a voltage being applied.

  1. Is this a known issue?
  2. How can we check if it's stopped for real, other than the UI?
  3. Is there a code table for the device lights?

Thank you!

0x55555555 commented 3 years ago

Hi @nodrogluap,

Are you able to provide a link to the specific API you are calling?

If you want to end the protocol, you should be invoking: https://github.com/nanoporetech/minknow_api/blob/master/proto/minknow_api/protocol.proto#L20 stop_protocol. As far as I am aware minknow does not present a "shutdown" API to users.

Thanks,

nodrogluap commented 3 years ago

Hi, calling this method from protocol instead of stop() from the acquisition proto did the trick, thanks!