alicat icon indicating copy to clipboard operation
alicat copied to clipboard

Improve `is_connected` error handling

Open patrickfuller opened this issue 6 years ago • 0 comments

Related to #7.

Right now, a flow controller will return False if initialized as a FlowMeter. We should consider a more verbose approach to is_connected covering the following scenarios:

  • Nothing's connected
  • Nothing's communicating
  • Something's communicating, but it's not an Alicat
  • An Alicat is communicating, but it's not a FlowMeter / FlowController

patrickfuller avatar Aug 02 '18 17:08 patrickfuller