![Meilhaus Electronic ME-1000 Series Manual Download Page 36](http://html1.mh-extra.com/html/meilhaus-electronic/me-1000-series/me-1000-series_manual_1766079036.webp)
Rev. 1.4E
Manual ME-1000
Function Reference
Page 36
Meilhaus Electronic
●
Definitions
C:
int me1000DOSetByte (int iBoardNumber, int iPortNo, int
iByteNo, int iByteValue);
Delphi:
function me1000DOSetByte (iBoardNumber, iPortNo,
iByteNo, iByteValue: integer): integer;
Basic:
Declare Function me1000DOSetByte Lib „me1000“ Alias
"_VBme1000DOSetByte@16" (ByVal lBoardNumber As
Long, ByVal lPortNo As Long, ByVal lByteNo As Long,
ByVal 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
>
Select the byte within the 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
>
Output value; possible values are:
00Hex…FFHex (0…256)
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.
Writes a 16 bit word to a port defined as output.
me1000DOSetWord
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 ...