beautypg.com

Getdeviceserialnumber, Getdkversion, Gettimebaselist – Dataman 770 Series User Manual

Page 13

background image


Development kit for DATAMAN 770 series

Programmer’s Guide


Public Declare Function GetDeviceID Lib "m770drvdk.dll" () As Long


Parameters: -

Return value:
Device code is calculated as 771+return value.

3.1.4. GetDeviceSerialNumber

Returns device serial number.

Public Declare Function GetDeviceSerialNumber Lib "m770drvdk.dll" () As

Long

Parameters: -

Return value:
Device serial number.

3.1.5. GetDKVersion

Returns the version of the selected DK part.

Public Declare Sub GetDKVersion Lib "m770drvdk.dll" (ByVal moduleindex

As Long, ByRef ver As TDKVersion)

Parameters:

module – identifies DK part, which version is to be obtained

VERSION_EM770 – em770 driver

VERSION_DK – DK (m770drvdk.dll)

version – structure, which will be filled with the version


Return value: -

3.1.6. GetTimeBaseList

Returns the list of available timebases.

Public Declare Sub GetTimeBaseList Lib "m770drvdk.dll" (ByRef items As

TTimeBaseItem, ByRef itemcount As Long)

Parameters:
timebaselist – the first item of the array which will be filled with the available
timebases. Array must be at least 31 items long.
timebaselistlength – the number of array items which was filled (number of available
timebases)

Return value: -

- 13 -