AioStartIO

Function

Starts/stops analog value retrieving.

 

Format

Ret = AioStartIO (Id, Start)

 

Parameter

Id [VB.NET:Short C,C++:short C#:short]

Specifies the device ID retrieved from AioInit.

 

Start [VB.NET:Short C,C++:short C#:short]

Specifies 1 for starting and 0 for stopping.

 

Return Value

Ret [VB.NET:Integer C,C++:long C#:int]

Define

Value

Description

AIO_ERR_SUCCESS

0

Normality completion

AIO_ERR_DLL_INVALID_ID

10001

Invalid ID was specified.

AIO_ERR_ACCESS_RIGHT

28003

Access rights error.

AIO_ERR_DLL_TIMEOUT

28004

Communication time out occurred.

AIO_ERR_START_ERROR

28001

Error occurred when module starts.

    

See also: Error Code Details

 

Remark

Starts module, reflects setting, starts analog value retrieving.

On inside, 1 is written to start register of virtual memory map and confirm that error status is 0.

 

Initial Value

Module isn't started.

 

Example

VB.NET   Ret = AioStartIO ( Id , Start)

C,C++     Ret = AioStartIO ( Id , Start);

C#          Ret = AIO.ccapaio. AioStartIO ( Id , Start );

 

See Also

None