84
Communications Control API
Section A-3
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
It stops the communications cycles.
The function cannot be executed while the communications cycle stops.
There are two ways to resume the communications cycle after it stops once.
One is to reset the Board with the function CPNT_Reset and then execute the
function CPNT_StartCycle. The other is to close it with the function
CPNT_Close and open it again with the function CPNT_Open.
A-3-4
CPNT_ChangeToRunState (Transition to RUN)
Purpose
Make a transition to RUN state.
Call Format
BOOL CPNT_ChangeToRunState (HANDLE Handle) ;
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
This is used to start the I/O cycle when it has stopped.
The communications cycles must be running, when this function is executed.
The function cannot be executed while the I/O cycles are running.
A-3-5
CPNT_ChangeToIdleState (Transition to IDLE)
Purpose
Make a transition to IDLE state.
Call Format
BOOL CPNT_ChangeToIdleState (HANDLE Handle) ;
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
This is used to stop the I/O cycles while it is running.
The communications cycles must be running, when this function is executed.
The function cannot be executed while the I/O cycle stops.
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
Содержание 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: ......