Getdeviceserialnumber, Getdkversion, Gettimebaselist – Dataman 570 Series User Manual
Page 13
Development kit for DATAMAN 570 series
Programmer’s Guide
Parameters: -
Return value:
Device code is calculated as 571+return value.
3.1.4. GetDeviceSerialNumber
Returns device serial number.
function GetDeviceSerialNumber:cardinal;stdcall;external 'm570drvdk.dll';
Parameters: -
Return value:
Device serial number.
3.1.5. GetDKVersion
Returns the version of the selected DK part.
procedure GetDKVersion(module:integer;ver:PDKVersion);stdcall;external
'm570drvdk.dll';
Parameters:
module – identifies DK part, which version is to be obtained
VERSION_EM570 – em570 driver
VERSION_DK – DK (m570drvdk.dll)
version – structure, which will be filled with the version
Return value: -
3.1.6. GetTimeBaseList
Returns the list of available timebases.
procedure
GetTimeBaseList(TimeBaseList:PTimeBaseList;TimeBaseListLength:PInteger);stdcal
l;external 'm570drvdk.dll';
Parameteres:
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: -
Remark:
Each array item is of TTimeBaseItem type. This structure comprises of the
following items:
- 13 -