![Meilhaus Electronic ME-1000 Series Manual Download Page 31](http://html1.mh-extra.com/html/meilhaus-electronic/me-1000-series/me-1000-series_manual_1766079031.webp)
Manual ME-1000
Rev. 1.4E
Meilhaus Electronic
Page 31
Function Reference
Delphi:
Function me1000DIGetByte (iBoardNumber, iPortNo,
iByteNo: integer; Var piByteValue: integer): integer;
Basic:
Declare Function me1000DIGetByte Lib „me1000“ Alias
"_VBme1000DIGetByte@16" (ByVal lBoardNumber As
Long, ByVal lPortNo As Long, ByVal lByteNo As Long,
ByRef lByteValue As Long) As Long
➔
Parameters
<BoardNumber>
Board number for ME-1000 to be accessed,
(1
st
: 0, 2
nd
: 1, n
th
<
PortNo
>
Selection of port:
<Port>
Port
PORTA (00Hex)
32 bit port A
PORTB (01Hex)
32 bit port B
PORTC (02Hex)
32 bit port C
PORTD (03Hex)
32 bit port D
<
ByteNo
>
Selection of the byte within a 32 bit word;
possible are:
<ByteNo>
8 bit word
BYTE_0 (00Hex)
P
x
0…P
x
7
BYTE_1 (01Hex)
P
x
8…P
x
15
BYTE_2 (02Hex)
P
x
16…P
x
23
BYTE_3 (03Hex)
P
x
24…P
x
31
<
ByteValue
>
Pointer to an integer value where the byte is read
into. Only the lower 8 bits are significant.
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. Port C and D
only for ME-1000/128.
Read in a 16 bit word from a port defined as input.
me1000DIGetWord
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 ...