beautypg.com

Metrohm 846 Driver Toolbox User Manual

Page 45

background image

3.1 Programming interface definitions

Dosing Interface USB Toolbox, Annex

41

(* [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 *)

FUNCTION DU_Empty(IfNo,MsbNo,InPort : LONG; InVolume,InRate : FLOAT;

OutPort : LONG; OutVolume,OutRate : FLOAT;

SpecPort : LONG; SpecVolume,SpecRate : FLOAT)

: eReturnState; STDCALL; EXTERNAL dllName;

(* 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] *)

(* AnsiString VAR ErrorCode Error code, format *)

(* [GGG-CCC-K-III], *)

(* G = group, C = code, *)

(* K = class, I = index *)

(* (1...4 or 255) *)

(* return eReturnstate *)

FUNCTION GetInterfaceError(IfNo,MsbNo,ErrorNumber : LONG;

VAR ErrorCode : AnsiString) : eReturnState;

(* Reads the stop condition of a Dosino action.

(*

(* parameter LONG IfNo Dosing Interface [1... ?] *)

(* LONG MsbNo Dosino at MSB [1... 4] *)

(* LONG VAR StopType Stop type of the last action *)

(* return eReturnstate *)

FUNCTION GetStopType(IfNo,MsbNo : LONG; VAR StopType : LONG)

: eReturnState; STDCALL; EXTERNAL dllName;

(* Reads the serial number of a Dosing Interface. The serial number can be *)

(* used as a unique identifier of an instrument. *)

(* *)

(* parameter LONG IfNo Dosing Interface [1... ?] *)

(* LONG VAR InterfaceId Serial number of Dosing *)

(* Interface *)

(* return eReturnstate *)

FUNCTION GetInterfaceId(IfNo : LONG; VAR InterfaceId : LONG)

: eReturnState; STDCALL; EXTERNAL dllName;

(* Get the program version of the 846 Dosing Interface *)

(* *)

(* parameter long IfNo Dosing Interface [1... ?] *)

(* AnsiString VAR ProgramVersion Text string of program version *)

(* return eReturnstate *)

FUNCTION GetProgramVersion(IfNo : LONG; VAR ProgramVersion : AnsiString)

: eReturnState;