class Minknow::DeviceService

Overview

Wrapper around the MinKNOW Device gRPC service.

Provides device-independent hardware queries: device info, state, flow cell info, calibration and temperature. Access via Connection#device.

Defined in:

minknow/device_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(channel : GRPC::Channel, ctx : GRPC::ClientContext) #

[View source]

Instance Method Detail

def calibration : CalibrationResponse #

Returns the current calibration for the device.


[View source]
def channels_layout : ChannelsLayout #

Returns the channel layout for the attached device.


[View source]

[View source]
def device_info : DeviceInfo #

Returns general information about the device attached to this position.


[View source]
def device_state : DeviceState #

Returns the current device state (connected / ready).


[View source]
def flow_cell_info : FlowCellInfo #

Returns information about the flow cell loaded in this position.


[View source]
def stream_device_state : GRPC::ServerStream(MinknowApi::Device::GetDeviceStateResponse) #

Streams device state changes. Returns an iterable server stream.


[View source]
def stream_flow_cell_info : GRPC::ServerStream(MinknowApi::Device::GetFlowCellInfoResponse) #

Streams flow cell info changes. Returns an iterable server stream.


[View source]
def stream_temperature : GRPC::ServerStream(MinknowApi::Device::GetTemperatureResponse) #

Streams temperature changes. Returns an iterable server stream.


[View source]
def temperature : Temperature #

Returns the current temperature reading.


[View source]