beautypg.com

2 functions, 1 init846, 2 getprogramversion – Metrohm 846 Driver Toolbox User Manual

Page 16: 3 getinterfaceid, Functions, Init846, Getprogramversion, Getinterfaceid

background image

2.2 Functions

12

Dosing Interface USB Toolbox, DLL Reference

2.2 Functions

2.2.1 Init846

bool Init846()

Initializes all the connected Metrohm 846 Dosing Interfaces found in the USB
chain. All Dosino drives are recognized and the Dosing Units are reset. Run-
ning processes are stopped.

This function returns true if everything is initialized correctly.

Input parameters

none

Output parameters

bool

2.2.2 GetProgramVersion

GetProgramVersion(long IfNo, char* ProgramVersion, long Prog-

VerBufSize)


Reads the program version of the Dosing Interface firmware.

Input parameters

IfNo

long

Dosing Interface [1… ]

ProgVerBufSize

long

Number of characters


Output parameters

eReturnstate

return

value

ProgramVersion

char*

Text string of program version

2.2.3 GetInterfaceId

GetInterfaceId(long IfNo, long& InterfaceId)

Reads the serial number of a Dosing Interface. The serial number can be used
as a unique identifier of a Dosing Interface.

Input parameters

IfNo

long

Dosing Interface [1… ]


Output parameters

eReturnstate

return

value

InterfaceId

long

serial number of Dosing Interface