4.5. Error Codes

The error codes of video input API are defined as follows:

Table 4.3 Video input API error code

Error code

Macro definition

Description

0xC00E8001

CVI_ERR_VI_INVALID_DEVID

Invalid device number

0xC00E8002

CVI_ERR_VI_INVALID_CHNID

Invalid channel number

0xC00E8003

CVI_ERR_VI_INVALID_PARA

Invalid parameter setting

0xC00E8004

CVI_ERR_VI_PIPE_EXIST

PIPE already exists

0xC00E8005

CVI_ERR_VI_PIPE_UNEXIST

PIPE does not exist

0xC00E8006

CVI_ERR_VI_INVALID_NULL_PTR

Null pointer error

0xC00E8007

CVI_ERR_VI_FAILED_NOTCONFIG

Device or channel properties are not configured

0xC00E8008

CVI_ERR_VI_NOT_SUPPORT

Operation not supported

0xC00E8009

CVI_ERR_VI_NOT_PERM

Operation forbidden

0xC00E800A

CVI_ERR_VI_INVALID_PIPEID

Invalid PIPE ID

0xC00E800C

CVI_ERR_VI_NOMEM

Memory allocation error

0xC00E800E

CVI_ERR_VI_BUF_EMPTY

The cache is empty

0xC00E800F

CVI_ERR_VI_BUF_FULL

The cache is full

0xC00E8010

CVI_ERR_VI_SYS_NOTREADY

The system is not initialized

0xC00E8012

CVI_ERR_VI_BUSY

The system is busy

0xC00E8040

CVI_ERR_VI_FAILED_NOTENABLE

The device has not been started

0xC00E8041

CVI_ERR_VI_FAILED_NOTDISABLE

The device has not been shut down

0xC00E8042

CVI_ERR_VI_FAILED_CHNOTDISABLE

The channel has not been closed

0xC00E8043

CVI_ERR_VI_CFG_TIMEOUT

Configuration timeout

0xC00E8044

CVI_ERR_VI_NORM_UNMATCH

No matching number found

0xC00E8045

CVI_ERR_VI_INVALID_WAYID

Invalid channel ID

0xC00E8046

CVI_ERR_VI_INVALID_PHYCHNID

Invalid physical channel ID

0xC00E8047

CVI_ERR_VI_FAILED_NOTBIND

Channel unbound

0xC00E8048

CVI_ERR_VI_FAILED_BINDED

Channel binding failed