beautypg.com

Metrohm 846 Driver Toolbox User Manual

Page 50

background image

3.1 Programming interface definitions

46

Dosing Interface USB Toolbox, Annex

As eReturnState

' Dose a specified volume via the actual port. Dosing rate, filling rate,

' filling port and piston direction can be chosen.

' With reverse piston direction it is possible to aspirate a desired volume.

' In this case the filling port is used as outlet port.

' The dosing can be hold, continued and stopped.

'

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

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

' Long FillPort Filling port

' Single Volume Dosing volume

' [0... 99999.99 mL]

' eDirection Direction Direction of piston movement

' Single FwdRate Dosing rate

' [0.01... 166 mL/min]

' Single RevRate Filling rate

' [0.01... 166 mL/min]

' return eReturnstate

Declare Function DU_MakeStep Lib "846_Dosing_Interface.dll" _

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

ByVal Volume As Single, ByVal Direction As eDirection, _

ByVal FwdRate As Single, ByVal RevRate As Single) _

As eReturnState

' Fill the cylinder from a specified port.

' Filling can be held and continued, but not stopped.

'

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

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

' Long Port Fill port [1..4]

' Single RevRate Filling rate

' [0.01... 166 mL/min]

' return eReturnstate

Declare Function DU_Fill Lib "846_Dosing_Interface.dll" _

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

ByVal RevRate As Single) As eReturnState

' Prepares the Dosing Unit for exchange. The cylinder is filled from the

' specified port and then the valve disk is turned to port 2.

' This action can be held and continued, but not stopped.

'

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

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

' Long Port Fill port [1..4]

' Single RevRate Filling rate

' [0.01... 166 mL/min]

' return eReturnstate

Declare Function DU_Exchange Lib "846_Dosing_Interface.dll" _

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

ByVal RevRate As Single) As eReturnState

' Reads the status of a Dosino drive.

'

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

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

' eDosinoState ByRef DosinoState status of the Dosino drive

' return eReturnstate

Declare Function Status Lib "846_Dosing_Interface.dll" _