beautypg.com

Metrohm 846 Driver Toolbox User Manual

Page 38

background image

3.1 Programming interface definitions

34

Dosing Interface USB Toolbox, Annex

// [0... 20000 mm^3]

// float InRate Filling rate

// [0.01... 166 mL/min]

// long OutPort Output port 1 [1... 4]

// float OutVolume Dosing tube volume on Output

// port 1 [0... 20000 mm^3]

// float OutRate Dosing rate on Output port 1

// [0.01... 166 mL/min]

// long SpecPort Output port 2 [1... 4]

// float SpecVolume Dosing tube volume on Output

// port 2 [0... 20000 mm^3]

// float SpecRate Dosing rate on Output port 1

// [0.01... 166 mL/min]

// return eReturnstate

DllDirection eReturnstate __stdcall DU_Prep(long IfNo, long MsbNo,

long InPort, float InVolume,

float InRate,

long OutPort, float OutVolume,

float OutRate,

long SpecPort, float SpecVolume,

float SpecRate);

// Empties the Buret Unit. Dosing cylinder and tubings are emptied in one

// automated process.

//

// parameter long IfNo Dosing Interface [1... ?]

// long MsbNo Dosino at MSB [1... 4]

// long InPort Filling port [1... 4]

// float InVolume Fill tube volume

// [0... 20000 mm^3]

// float InRate Filling rate

// [0.01... 166 mL/min]

// long OutPort Output port 1 [1... 4]

// float OutVolume Dosing tube volume on Output

// port 1 [0... 20000 mm^3]

// float OutRate Dosing rate on Output port 1

// [0.01... 166 mL/min]

// long SpecPort Output port 2 [1... 4]

// float SpecVolume Dosing tube volume on Output

// port 2 [0... 20000 mm^3]

// float SpecRate Dosing rate on Output port 1

// [0.01... 166 mL/min]

// return eReturnstate

DllDirection eReturnstate __stdcall DU_Empty(long IfNo, long MsbNo,

long InPort, float InVolume,

float InRate,

long OutPort, float OutVolume,

float OutRate,

long SpecPort, float SpecVolume,

float SpecRate);

// Reads casual error messages which occur during Dosino actions.

//

// parameter long IfNo Dosing Interface [1... ?]

// long MsbNo Dosino at MSB [1... 4]

// long ErrorNumber Error number [0... 9]

// char* ErrorCode Error code, format

// [GGG-CCC-K-III],

// G = group, C = code,

// K = class, I = index

// (1...4 or 255)