Rev. 1.4E
Manual ME-1000
Function Reference
Page 38
Meilhaus Electronic
✎
Description
Function is used for: ME-1000/64 and ME-1000/128. Port C and D
only for ME-1000/128.
Write a 32 bit word to a port defined as output.
☞
Important Note!
To properly configure the port the function
me1000DIOSetPortDirection
must first be called for the selected
port.
●
Definitions
C:
int me1000DOSetLong (int iBoardNumber, int iPortNo, int
iValue);
Delphi:
function me1000DOSetLong (iBoardNumber, iPortNo,
iValue: integer): integer;
Basic:
Declare Function me1000DOSetLong Lib „me1000“ Alias
"_VBme1000DOSetLong@12" (ByVal lBoardNumber As
Long, ByVal lPortNo As Long, ByVal lValue 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
<
Value
>
Output value; possible values are:
00000000Hex...FFFFFFFFHex (0...4294967295).
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
me1000DOSetLong
Содержание ME-1000 Series
Страница 8: ...Rev 1 4E Manual ME 1000 Introduction Page 8 Meilhaus Electronic ...
Страница 10: ...Rev 1 4E Manual ME 1000 Installation Page 10 Meilhaus Electronic ...
Страница 16: ...Rev 1 4E Manual ME 1000 Hardware Page 16 Meilhaus Electronic ...
Страница 40: ...Rev 1 4E Manual ME 1000 Function Reference Page 40 Meilhaus Electronic ...
Страница 46: ...Rev 1 4E Manual ME 1000 Technical Questions Page 46 Meilhaus Electronic ...