![Meilhaus Electronic ME-1000 Series Manual Download Page 37](http://html1.mh-extra.com/html/meilhaus-electronic/me-1000-series/me-1000-series_manual_1766079037.webp)
Manual ME-1000
Rev. 1.4E
Meilhaus Electronic
Page 37
Function Reference
☞
Important Note!
To properly configure the port the function
me1000DIOSetPortDirection
must first be called for the selected
port.
●
Definitions
C:
int me1000DOSetWord (int iBoardNumber, int iPortNo,
int iWordNo, int iWordValue);
Delphi:
function me1000DOSetWord (iBoardNumber, iPortNo,
iWordNo, iWordValue: integer): integer;
Basic:
Declare Function me1000DOSetWord Lib „me1000“ Alias
"_VBme1000DOSetWord@12" (ByVal lBoardNumber As
Long, ByVal lPortNo As Long, ByVal lWordNo As Long,
ByVal lWordValue 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
<
WordNo
>
Select between lower and upper word within a
32 bit word; possible are:
<WordNo>
16 bit word
WORD_0 (00Hex)
P
x
0…P
x
15
WORD_1 (01Hex)
P
x
16…P
x
31
<
WordValue
>
Output value; possible values are:
0000Hex...FFFFHex (0...65535)
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
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 ...