Rev. 1.4E
Manual ME-1000
Function Reference
Page 26
Meilhaus Electronic
☞
Example
The following example returns some elements of the structure des-
cribed above:
iErrorCode = _me8100GetDeviceInfo(iBoardNumber, &DevInfo);
if (iErrorCode
{
printf(“\nTechnical Values:\n“);
printf(“Vendor ID: 0x%04x\n, DevInfo.dwVendorID);
printf(“Device ID: 0x%04x\n, DevInfo.dwDeviceID);
printf(“IOPortBase: 0x%04x\n, DevInfo.dwPortBase);
printf(“IOPortPLX: 0x%04x\n, DevInfo.dwPortBasePLX);
printf(“SerialNo: 0x%04x\n, DevInfo.dwSerialNumber);
};
Return value
If the function is successfully executed, a '1' is returned. If an error
occurs, a '0' is returned. The cause of the error can be determined
with the function
me1000GetDrvErrMess
✎
Description
Function is used for: ME-1000/64 and ME-1000/128.
Determines the version number of the driver DLL.
●
Definitions
C:
int me1000GetDLLVersion(void);
Delphi:
Function me1000GetDLLVersion: integer;
Basic:
Declare Function me1000GetDLLVersion Lib „me1000“
Alias "_VBme1000GetDLLVersion@0" ()As Long
➔
Parameters
none
Return value
The version number is returned as a 32 bit value. The upper 16 bits
contain the main version number and the lower 16 bits contain the
sub version number. E. g.: 00020001Hex indicates the version num-
ber 2.01
me1000GetDLLVersion
Summary of Contents for ME-1000 Series
Page 8: ...Rev 1 4E Manual ME 1000 Introduction Page 8 Meilhaus Electronic ...
Page 10: ...Rev 1 4E Manual ME 1000 Installation Page 10 Meilhaus Electronic ...
Page 16: ...Rev 1 4E Manual ME 1000 Hardware Page 16 Meilhaus Electronic ...
Page 40: ...Rev 1 4E Manual ME 1000 Function Reference Page 40 Meilhaus Electronic ...
Page 46: ...Rev 1 4E Manual ME 1000 Technical Questions Page 46 Meilhaus Electronic ...