Function
Resets the opposite device setting of the demo device.
Format
Ret = AioDemoReset ( Id )
Parameters
Id
[ C, C++ : short ] [ Python : ctypes.c_short ]
Specifies the device ID retrieved from AioInit.
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 |
28620 |
A driver inner error occurred |
Remarks
This is a function dedicated to the demo
device.
All Analog Input Values become "0", all Digital Input Values
become "0"(OFF) and all Control Signals become "0"(OFF)
for demo device reset.
Analog Output Value will not change by calling this function.
Example
C, C++ |
long
Ret; |
Python |
Ret
= ctypes.c_long() |