77
Communications Control API
Section A-3
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
•
With this function, the Board is reset. All data that has been set is cleared.
Handle is not closed.
•
With this function, the communications cycles have stopped. To resume the
communications, execute the function CPNT_StartCycle or
CPNT_StartCycleEx.
A-2-4
CPNT_IsExistBoard (Check Board Existence)
Purpose
Check if the Board which has the specified Board ID is installed.
Call Format
BOOL CPNT_IsExistBoard(WORD BoardId) ;
Argument
Returned value
It returns TRUE when the Board of specified ID exists.
It returns FALSE when an error occurs, when no Board with specified ID
exists or when the Board of specified ID is opened by other process.
The error details can be obtained with the function GetLastError.
Remarks
•
This function is used to check the IDs of mounted Boards.
•
The Board ID is set by the rotary switch on the Board.
A-3
Communications Control API
A-3-1
CPNT_StartCycle (Start Communications Cycles)
Purpose
Start the communications cycles.
Call Format
BOOL CPNT_StartCycle(
HANDLE Handle,
CPNT_SOFTWARE_TABLE *SoftwareTable,
WORD DataRate
) ;
Type
Parameter
Direction
Description
WORD
BoardId
IN
ID of Board whose existence is
checked
Specified range: 0x0 to 0x9 (0 to 9)
Содержание 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: ......