Documentation ¶
Overview ¶
Package dropletgenomics defines the DropletGenomics company's microfluidincs device
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePayload ¶
func MakePayload(setting string, data interface{}) payload
MakePayload creates a payload structure TODO: eliminate use
Types ¶
type Camera ¶
type Camera struct { BaseAddr string `json:"-"` FrameRate float64 `json:"volumeTarget"` Exposure float64 `json:"purge_rate"` Illumination float64 `json:"pump_id"` }
Camera has the camera dataset and controlls comms
type Device ¶
Device is DropletGenomics' rendition of microfluidics devices
func (*Device) Available ¶
Available determines whether connection to DropletGenomics device is established
func (Device) RefreshAll ¶
RefreshAll launches refresh on all pumps
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
Frame defines how dropletgenomics frame looks like. It's a struct to be passed as message. Getting the internal frame ends this struct's lifetime.
func CreateFrame ¶
CreateFrame creates a frame with given frame and context
type Pump ¶
type Pump struct { BaseAddr string `json:"-"` VolumeTarget float64 `json:"volumeTarget"` PurgeRate float64 `json:"purge_rate"` PumpID int `json:"pump_id"` RateW float64 `json:"rateW"` Volume float64 `json:"volume"` Status bool `json:"status"` Name string `json:"name"` Direction bool `json:"direction"` Syringe float64 `json:"syringe"` Used bool `json:"used"` VolumeTargetW float64 `json:"volumeTargetW"` VolumeW float64 `json:"volumeW"` Rate float64 `json:"rate"` Stalled bool `json:"stalled"` Force float64 `json:"force"` // contains filtered or unexported fields }
Pump owns data of a pump and performs comms with device
Click to show internal directories.
Click to hide internal directories.