nem_rs232_api.h File Reference

Application Programming Interface (API) More...

#include <csi_api.h>
+ Include dependency graph for nem_rs232_api.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  stNemesys
 A neMESYS Device object - required for device access and communication. More...
 

Typedefs

typedef struct stNemesys TNemesys
 A neMESYS Device object - required for device access and communication.
 

Functions

long NemCalibrate (TNemesys *Nemesys, uint32_t Velocity)
 Execute reference move (homing move) for single dosing unit. More...
 
long NemClearFault (TNemesys *Nemesys)
 Clear fault state of device. More...
 
long NemDevInit (struct CsiBus *Bus, uint8_t NodeId, TNemesys *Nemesys)
 Initialize neMESYS device object with all parameters This function reads configuration parameters from device and stores the parameters into the device object. More...
 
long NemDoseVolume (TNemesys *Nemesys, uint32_t dwVolume, int32_t dwFlowRate)
 Dose a certain volume with a certain flowrate. More...
 
long NemGenerateConstantFlow (TNemesys *Nemesys, int32_t dwFlowRate)
 Generate a constant flow rate. More...
 
long NemGetFlowRate (TNemesys *Nemesys, int32_t *pdwFlowRate)
 Query actual flow rate of dosing unit. More...
 
long NemGetLastDevErr (TNemesys *Nemesys, int32_t *pLastDevErr)
 Read last device error from error register. More...
 
long NemGetSyringeLevel (TNemesys *Nemesys, int32_t *pSyringeLevel)
 Query actual syringe fill level. More...
 
long NemIsCalibrationFinished (TNemesys *Nemesys)
 Checks if a dosing unit finished the calibration move. More...
 
long NemIsDosingFinished (TNemesys *Nemesys)
 Checks if a dosing unit finished the last dosing task. More...
 
uint32_t NemIsEnabled (TNemesys *Nemesys)
 Check if device is in enabled state. More...
 
uint32_t NemIsInFaultState (TNemesys *Nemesys)
 Query fault state of device Check if device is in fault state. More...
 
uint8_t NemIsValveInstalled (TNemesys *Nemesys)
 Checks the device configuration if a valve is installed. More...
 
uint32_t NemIsValveStateDispense (TNemesys *Nemesys)
 Check if valve is switched to dispense state (output). More...
 
long NemReadStatusWord (TNemesys *Nemesys, uint16_t *pwStatusWord)
 Read status word from device The bits of the statusword indicate the current state of the drive. More...
 
long NemRestorePos (TNemesys *Nemesys, int32_t dwPos)
 Restore position value. More...
 
long NemSetEnabled (TNemesys *Nemesys)
 Set single dosing unit into enable state. More...
 
long NemSetSyringeLevel (TNemesys *Nemesys, uint32_t dwSyringeLevel, uint32_t dwFlowRate)
 Set syringe to a certain fill level. More...
 
long NemStop (TNemesys *Nemesys)
 Stops actual dosing move. More...
 
long NemSwitchValve (TNemesys *Nemesys, uint8_t SwitchToDispense)
 Switch the integrated three way valve (if one is installed). More...
 

Detailed Description

Application Programming Interface (API)

Author
Uwe Kindler (UK)
Date
2013/06/26