Classes | Functions | Variables
pipette_driver::pipette Namespace Reference

Classes

class  IncompleteResponseError
class  InvalidChecksumError
class  InvalidEscapeSequenceError
class  InvalidMessageTypeError
class  NotConnectedException
class  ResponseError
class  SeqNumMismatchError
class  ViafloAspirateCommand
class  ViafloCommand
class  ViafloDispenseCommand
class  ViafloInfoCommand
class  ViafloInfoResponse
class  ViafloPipette
class  ViafloPipettorActionResponse
class  ViafloPositionQueryCommand
class  ViafloPurgeCommand
class  ViafloResponse
class  ViafloVersionCommand
class  ViafloVersionResponse

Functions

def _bytes_to_num
def _convert_bytes_to_str
def _convert_str_to_bytes
def _short_num_to_bytes
def unpack_msg

Variables

tuple _action_dict = defaultdict(lambda : "???", {1:'Position Inquiry', 2:'Homing', 3:'Purge', 4:'Aspirate', 5:'Aspirate with jog', 6:'Dispense', 7:'Dispense to 0', 8:'Mix', 9:'Prompt'})
int _ESC = 27
int _ETX = 3
int _LF = 10
int _STX = 2

Function Documentation

def pipette_driver.pipette._bytes_to_num (   data) [private]
Convert list with two or four bytes into integer
@param data, list of bytes (integers), with either 2 or 4 elements
@return int : Number

Definition at line 65 of file pipette.py.

Convert list of bytes into string

Definition at line 76 of file pipette.py.

Unpack string, convert to list of bytes

Definition at line 83 of file pipette.py.

Convert short number into two byte list representation
@param number int : Number to convert
@return [int,int] : Two bytes

Definition at line 57 of file pipette.py.

def pipette_driver.pipette.unpack_msg (   raw_data,
  expected_seq_num 
)
Unpacks data and returns response message
@return ViafloResponse 

Definition at line 344 of file pipette.py.


Variable Documentation

tuple pipette_driver::pipette::_action_dict = defaultdict(lambda : "???", {1:'Position Inquiry', 2:'Homing', 3:'Purge', 4:'Aspirate', 5:'Aspirate with jog', 6:'Dispense', 7:'Dispense to 0', 8:'Mix', 9:'Prompt'})

Definition at line 101 of file pipette.py.

Definition at line 96 of file pipette.py.

Definition at line 94 of file pipette.py.

Definition at line 98 of file pipette.py.

Definition at line 92 of file pipette.py.



pipette_driver
Author(s): Kevin Watts
autogenerated on Tue Dec 10 2013 15:49:44