beautypg.com

Metrohm 846 Driver Toolbox User Manual

Page 51

background image

3.1 Programming interface definitions

Dosing Interface USB Toolbox, Annex

47

(ByVal IfNo As Long, ByVal MsbNo As Long, _

ByRef DosinoState As eDosinoState) As eReturnState

' Stops the current Dosino action.

'

' parameter Long IfNo Dosing Interface [1... ?]

' Long MsbNo Dosino at MSB [1... 4]

' return eReturnstate

Declare Function DosStop Lib "846_Dosing_Interface.dll" _

(ByVal IfNo As Long, ByVal MsbNo As Long) As eReturnState

' Holds the current Dosino action. The held action can be continued or

' finally stopped.

'

' parameter Long IfNo Dosing Interface [1... ?]

' Long MsbNo Dosino at MSB [1... 4]

' return eReturnstate

Declare Function DosHold Lib "846_Dosing_Interface.dll" _

(ByVal IfNo As Long, ByVal MsbNo As Long) As eReturnState

' Continues a held Dosino action.

'

' parameter Long IfNo Dosing Interface [1... ?]

' Long MsbNo Dosino at MSB [1... 4]

' return eReturnstate

Declare Function DosContinue Lib "846_Dosing_Interface.dll" _

(ByVal IfNo As Long, ByVal MsbNo As Long) As eReturnState

' Prepares a Dosing Unit for further use. A "Prep" cycle includes emptying

' the dosing cylinder and rinsing and filling the tubings in one automated

' process.

'

' parameter Long IfNo Dosing Interface [1... ?]

' Long MsbNo Dosino at MSB [1... 4]

' Long InPort Filling port [1... 4]

' Single InVolume Fill tube volume

' [0... 20000 mm^3]

' Single InRate Filling rate

' [0.01... 166 mL/min]

' Long OutPort Output port 1 [1... 4]

' Single OutVolume Dosing tube volume on Output

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

' Single OutRate Dosing rate on Output port 1

' [0.01... 166 mL/min]

' Long SpecPort Output port 2 [1... 4]

' Single SpecVolume Dosing tube volume on Output

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

' Single SpecRate Dosing rate on Output port 1

' [0.01... 166 mL/min]

' return eReturnstate

Declare Function DU_Prep Lib "846_Dosing_Interface.dll" _

(ByVal IfNo As Long, ByVal MsbNo As Long, ByVal InPort As Long, _

ByVal InVolume As Single, ByVal InRate As Single, _

ByVal OutPort As Long, ByVal OutVolume As Single, _

ByVal OutRate As Single, _

ByVal SpecPort As Long, ByVal SpecVolume As Single, _

ByVal SpecRate As Single) _

As eReturnState