93
Explicit Messaging API
Section A-6
A-5-6
CPNT_SetBitOutData (Set Bit OUT Data to Bit OUT Slave Unit)
Purpose
Set the Bit Out data in Bit OUT Slave Units.
Call Format
BOOL CPNT_SetBitOutData (
HANDLE Handle,
WORD *BitOUT,
WORD WordOffset,
WORD WordSize
) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
See Appendix B.3.5 for the content of Bit OUT data.
A-6
Explicit Messaging API
A-6-1
CPNT_SendExplicit (Send Explicit Message)
Purpose
Send Explicit Messages.
Call Format
BOOL CPNT_SendExplicit (
HANDLE Handle,
CPNT_EXPLICIT_REQ *ExplicitReq
) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
WORD
*BitOUT
IN
Set the Bit OUT data.
Set the data equivalent to Word
size.
WORD
WordOffset
IN
Specify the Word offset for the Bit
OUT Slave Unit to which the OUT
data is written.
Settable range: 0 to 15
WORD
WordSize
IN
Specify the Word size of the Bit
OUT data to write.Observe the
condition for the set value:
(Word WordSize)
≤
16
Settable range: 1 to 16
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
CPNT_EXPLI
CIT_REQ
*
ExplicitReq
IN
Set the message to send.
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......