90
I/O Data Access API
Section A-5
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
To execute this function, the communications cycles must be running.
CPNT_DATETIME structure
A-5
I/O Data Access API
A-5-1
CPNT_GetAccessToIO (Get Access to I/O)
Purpose
Get the access right to I/O.
Call Format
BOOL CPNT_GetAccessToIO (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
To execute this function, the I/O communications must be running.
It takes a maximum of one communications cycle to exit this function.
A-5-2
CPNT_ReleaseAccessToIO (Release Access to I/O)
Purpose
Release the access right to I/O.
Call Format
BOOL CPNT_ReleaseAccessToIO (HANDLE Handle);
Argument
Type
Parameter
Description
BYTE
Sec
Second
Settable range: 00 to 59
BYTE
Min
Minute
Settable range: 00 to 59
BYTE
Hour
Hour
Settable range: 00 to 23
BYTE
Day
Date
Settable range: 01 to 31
BYTE
Mon
Month
Settable range: 01 to 12
BYTE
Year
Year (The lower two digits in the Western calendar)
Settable range: 00 to 99
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: ......