Qmix SDK  20200506
The software libraries for integration of all CETONI devices.
labbCAN_Pump_API.h File Reference

labbCAN Pump Application Programming Interface More...

#include "labbCAN_Bus_API.h"
+ Include dependency graph for labbCAN_Pump_API.h:

Macros

#define CENTI   -2
 CENTI.
 
#define DECI   -1
 DECI.
 
#define LITRES   68
 LITRES.
 
#define MICRO   -6
 MICRO.
 
#define MILLI   -3
 MILLI.
 
#define PER_HOUR   3600
 PER_HOUR.
 
#define PER_MINUTE   60
 PER_MINUTE.
 
#define PER_SECOND   1
 PER_SECOND.
 
#define UNIT   0
 use base unit
 

Functions

LCP_Func long LCP_CALL LCP_AddBatchEntry (dev_hdl hPump, double Volume, double Flow, unsigned long Time, unsigned long Cycles, unsigned long PeriodSecs)
 Adds a single entry to list of batch entries. More...
 
LCP_Func long LCP_CALL LCP_Aspirate (dev_hdl hPump, double Volume, double Flow)
 Aspirate a certain volume with a certain flow rate. More...
 
LCP_Func long LCP_CALL LCP_ClearBatchList (dev_hdl hPump)
 Deletes all entries from a pumps batch list. More...
 
LCP_Func long LCP_CALL LCP_ClearFault (dev_hdl hPump)
 Clear fault condition. More...
 
LCP_Func long LCP_CALL LCP_Disable (dev_hdl hPump)
 Set pump into disabled state. More...
 
LCP_Func long LCP_CALL LCP_Dispense (dev_hdl hPump, double Volume, double Flow)
 Dispense a certain volume with a certain flow rate. More...
 
LCP_Func long LCP_CALL LCP_Enable (dev_hdl hPump)
 Set axis into enabled state. More...
 
LCP_Func long LCP_CALL LCP_GenerateFlow (dev_hdl hPump, double FlowRate)
 Generate a continuous flow. More...
 
LCP_Func long LCP_CALL LCP_GetBatchEntry (dev_hdl hPump, unsigned long Time, dev_hdl *pBatchEntryHdl)
 This function returns a handle to a certain batch entry. More...
 
LCP_Func long LCP_CALL LCP_GetBatchEntryAtIndex (dev_hdl hPump, unsigned long Index, dev_hdl *pBatchEntryHdl)
 This function returns a handle to a certain batch entry. More...
 
LCP_Func long LCP_CALL LCP_GetBatchEntryParam (dev_hdl BatchEntryHdl, double *pVolume, double *pFlow, unsigned long *pTime, unsigned long *pCycles, unsigned long *pPeriodSecs)
 This function returns the configuration of a certain batch entry. More...
 
LCP_Func long LCP_CALL LCP_GetBatchListSize (dev_hdl hPump)
 Query current number of entries in a pumps batch list. More...
 
LCP_Func long LCP_CALL LCP_GetDosedVolume (dev_hdl hPump, double *pDosedVolume)
 Get the already dosed volume. More...
 
LCP_Func long LCP_CALL LCP_GetDrivePosCnt (dev_hdl hPump, long *pPosCntValue)
 Query the value of the internal drive position counter. More...
 
LCP_Func long LCP_CALL LCP_GetFillLevel (dev_hdl hPump, double *pFillLevel)
 Returns the actual fill level of the pump. More...
 
LCP_Func long LCP_CALL LCP_GetFlowIs (dev_hdl hPump, double *pFlowRateIs)
 Read the actual flow rate. More...
 
LCP_Func long LCP_CALL LCP_GetFlowRateMax (dev_hdl hPump, double *FlowRateMax)
 Get maximum flow rate that is realizable with current dosing unit configuration. More...
 
LCP_Func long LCP_CALL LCP_GetFlowUnit (dev_hdl hPump, int *pPrefix, int *pVolumeUnit, int *pTimeUnit)
 Queries the current flow unit used for passing flow values. More...
 
LCP_Func long LCP_CALL LCP_GetNextDosageTime (dev_hdl hPump)
 Returns time of next dosage event. More...
 
LCP_Func long LCP_CALL LCP_GetNoOfPumps ()
 Query number of detected pump devices. More...
 
LCP_Func dev_hdl LCP_CALL LCP_GetPumpDriveHandle (dev_hdl hPump)
 Returns the drive handle of pump drive for the given pump. More...
 
LCP_Func long LCP_CALL LCP_GetPumpHandle (unsigned char Index, dev_hdl *PumpHandle)
 Get pump handle by its index. More...
 
LCP_Func long LCP_CALL LCP_GetPumpName (dev_hdl hPump, char *pNameStringBuf, int StringBufSize)
 Query name of specific pump. More...
 
LCP_Func long LCP_CALL LCP_GetSyringeParam (dev_hdl hPump, double *pInnerDiameter_mm, double *pMaxPistonStroke_mm)
 Read syringe parameters. More...
 
LCP_Func long LCP_CALL LCP_GetTargetVolume (dev_hdl hPump, double *pTargetVolume)
 Read the target volume. More...
 
LCP_Func long LCP_CALL LCP_GetValveHandle (dev_hdl hPump, dev_hdl *ValveHandle)
 Returns the valve handle of a pump valve for the pump given in hPump parameter. More...
 
LCP_Func long LCP_CALL LCP_GetVolumeMax (dev_hdl hPump, double *VolumeMax)
 Returns the maximum volume a pump can aspirate into its container (syringe) For some devices like peristaltic pumps the maximum volume is not limited while for other pumps, like syringe pumps, the maximum volume is limited by the maximum travel range of the drive unit and by the maximum piston stroke of the mounted syringe. More...
 
LCP_Func long LCP_CALL LCP_GetVolumeUnit (dev_hdl hPump, int *pPrefix, int *pVolumeUnit)
 Queries the current volume unit used for all dosage functions. More...
 
LCP_Func long LCP_CALL LCP_HasValve (dev_hdl hPump)
 Returns 1 if this pump has an valve assigned. More...
 
LCP_Func long LCP_CALL LCP_IsBatchRunning (dev_hdl hPump)
 Check if batch processing is active. More...
 
LCP_Func long LCP_CALL LCP_IsCalibrationFinished (dev_hdl hPump)
 Checks if calibration is finished. More...
 
LCP_Func long LCP_CALL LCP_IsEnabled (dev_hdl hPump)
 Query if pump drive is enabled. More...
 
LCP_Func long LCP_CALL LCP_IsInFaultState (dev_hdl hPump)
 Check if pump is in a fault state. More...
 
LCP_Func long LCP_CALL LCP_IsPumping (dev_hdl hPump)
 Check if device is currently stopped or dosing. More...
 
LCP_Func long LCP_CALL LCP_LookupPumpByName (const char *pPumpName, dev_hdl *PumpHandle)
 Lookup for a pump device by its name. More...
 
LCP_Func long LCP_CALL LCP_PumpVolume (dev_hdl hPump, double Volume, double Flow)
 Pump a certain volume with a certain flow rate. More...
 
LCP_Func long LCP_CALL LCP_RemoveBatchEntry (dev_hdl hPump, unsigned long Time)
 Remove batch entry from list of batch entries. More...
 
LCP_Func long LCP_CALL LCP_RestoreDrivePosCnt (dev_hdl hPump, long PosCntValue)
 Restore internal hardware position counter value of pump drive. More...
 
LCP_Func long LCP_CALL LCP_SetFillLevel (dev_hdl hPump, double Level, double Flow)
 Pumps fluid with the given flow rate until the requested fill level is reached. More...
 
LCP_Func long LCP_CALL LCP_SetFlowUnit (dev_hdl hPump, int Prefix, int VolumeUnit, int TimeUnit)
 Sets the flow unit for a certain pump. More...
 
LCP_Func long LCP_CALL LCP_SetSyringeParam (dev_hdl hPump, double InnerDiameter_mm, double MaxPistonStroke_mm)
 Set syringe parameters. More...
 
LCP_Func long LCP_CALL LCP_SetVolumeUnit (dev_hdl hPump, int Prefix, int VolumeUnit)
 This function sets the default volume unit. More...
 
LCP_Func long LCP_CALL LCP_StartBatchProcessing (dev_hdl hPump)
 Start processing of batch list. More...
 
LCP_Func long LCP_CALL LCP_StopAllPumps ()
 Immediately stop pumping off all pumps. More...
 
LCP_Func long LCP_CALL LCP_StopBatchProcessing (dev_hdl hPump)
 Stop processing of batch list. More...
 
LCP_Func long LCP_CALL LCP_StopPumping (dev_hdl hPump)
 Immediately stop pumping. More...
 
LCP_Func long LCP_CALL LCP_SyringePumpCalibrate (dev_hdl hPump)
 Executes a reference move for a syringe pump. More...
 

Detailed Description

labbCAN Pump Application Programming Interface

Author
Uwe Kindler (UK)
Date
2012/07/13