Function
This is a function that gets the status of the analog output stop trigger of the demo device.
Format
Ret = AioGetDemoAoStopExtTrigger ( 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 |
28540 |
A driver inner error occurred |
Remarks
This is a function dedicated to the demo device.
The initial value is 0 (OFF).
Please call AioSetDemoAoStopExtTrigger
function when You want to modify the external trigger level for Analog
Output Stop.
Example
Gets the status of the analog output stop trigger.
C, C++ |
long
Ret; |
Python |
Ret
= ctypes.c_long() |
See also