beautypg.com

Metrohm 846 Driver Toolbox User Manual

Page 36

background image

3.1 Programming interface definitions

32

Dosing Interface USB Toolbox, Annex

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

// eDirection Direction Direction of the desired

// piston movement.

// return eReturnstate

DllDirection eReturnstate __stdcall Adjust(long IfNo, long MsbNo,

eDirection Direction);

// Move the piston to an absolute position. The full stroke of the piston is

// subdivided in 10000 positions.

//

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

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

// long Position Absolute piston position

// [0... 10000]

// float Rate Dosing rate

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

// return eReturnstate

DllDirection eReturnstate __stdcall GoPos(long IfNo, long MsbNo, long Position,

float Rate);

// Move piston to the mechanical end position. This function can be used to

// remove any air bubbles from the cylinder.

//

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

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

// float FwdRate Dosing rate

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

// return eReturnstate

DllDirection eReturnstate __stdcall DU_ToEnd(long IfNo, long MsbNo,

float FwdRate);

// 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

// float Volume Dosing volume

// [0... 99999.99 mL]

// eDirection Direction Direction of piston movement

// float FwdRate Dosing rate

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

// float RevRate Filling rate

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

// return eReturnstate

DllDirection eReturnstate __stdcall DU_MakeStep(long IfNo, long MsbNo,

long Fillport, float Volume,

eDirection Direction,

float FwdRate, float RevRate);

// 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]