beautypg.com

2 dll reference, 1 constants, 1 return states – Metrohm 846 Driver Toolbox User Manual

Page 13: 2 dosino states, Dll reference, Constants, Return states, Dosino states

background image

2.1 Constants

Dosing Interface USB Toolbox, DLL Reference

9

2 DLL Reference

This Reference applies to the interfaces of the programming languages C++,
Delphi and Visual Basic. For descriptions of the Java interface, see 3.1.1

2.1 Constants

2.1.1 Return states

enum eReturnstate

{

RET_STAT_OK

= 0,

RET_STAT_nvNumber

= 1,

RET_STAT_noDosino

= 2,

RET_STAT_commError

= 3,

RET_STAT_argError

= 4,

RET_STAT_nvAction

= 5

};

These are the return values of the Dosino functions, except

Init846()

.

OK

function could be set up correctly

nvNumber

not a valid 846 Dosing Interface number or Dosino number

noDosino

not a valid Dosino

commError

communication error

argError

function arguments out of specified range

nvAction

not a valid action

2.1.2 Dosino states

enum eDosinoState

{

DOS_STAT_IDLE

= 0,

DOS_STAT_FILL

= 1,

DOS_STAT_EXCHANGE

= 2,

DOS_STAT_POSITION

= 3,

DOS_STAT_ZEROADJUST

= 4,

DOS_STAT_ADJUST

= 5,

DOS_STAT_COCK

= 6,

DOS_STAT_TOENDDOS

= 7,

DOS_STAT_DOS

= 8,

DOS_STAT_PREPAR

= 9,

DOS_STAT_EMPTY

= 10,

DOS_STAT_BUSY

= 11,

DOS_STAT_HOLD_FILL

= 12,

DOS_STAT_HOLD_EXCHANGE

= 13,

DOS_STAT_HOLD_POSITION

= 14,

DOS_STAT_HOLD_ZEROADJUST

= 15,

DOS_STAT_HOLD_ADJUST

= 16,

DOS_STAT_HOLD_TOENDDOS

= 17,

DOS_STAT_HOLD_DOS

= 18,

DOS_STAT_HOLD_PREPAR

= 19,

DOS_STAT_HOLD_EMPTY

= 20,

DOS_STAT_TIMEOUT

= 21,

DOS_STAT_UNDEFINED

= 22

};