AioDemoReset


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
Use the Id retrieved from AioInit to specify the Id in this function.

10002

AIO driver can't be called
At first, perform AioInit function.

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;
Ret = AioDemoReset ( Id );
 

Python

Ret = ctypes.c_long()
Ret.value = caio.AioDemoReset ( Id )