Function
This is a function that gets the status of the analog input external clock of the demo device.
Format
Ret = AioGetDemoAiClockExtTrigger ( Id , Data )
Parameters
Id
[ C, C++ : short ] [ Python : ctypes.c_short ]
Specifies the device ID retrieved from AioInit.
Data
[ C, C++ : short * ] [ Python : ctypes.POINTER(ctypes.c_short) ]
Specifies the address of variable that stores the set data.
Return values
Ret [ C, C++ : long ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
10001 |
Invalid
Id was specified |
10002 |
AIO
driver can't be called |
28460 |
A driver inner error occurred |
Remarks
This is a function dedicated to the demo device.
The initial value is 0 (OFF).
Please call AioSetDemoAiClockExtTrigger
function when You want to modify the external clock level for Analog Input.
Example
Gets the status of the analog input external clock.
C, C++ |
long
Ret; |
Python |
Ret
= ctypes.c_long() |
See also