Skip to content

Error Codes

Error codes returned by any of the pylon C API functions. More…

Defines#

Value Name
((GENAPIC_RESULT) 0xC2000001) GENAPI_E_FAIL
((GENAPIC_RESULT) 0xC200000C) GENAPI_E_INDEX_ERROR
((GENAPIC_RESULT) 0xC2000003) GENAPI_E_INSUFFICIENT_BUFFER
((GENAPIC_RESULT) 0xC2000002) GENAPI_E_INVALID_ARG
((GENAPIC_RESULT) 0xC2000011) GENAPI_E_INVALID_FILEHANDLE
((GENAPIC_RESULT) 0xC200000F) GENAPI_E_INVALID_NODECALLBACKHANDLE
((GENAPIC_RESULT) 0xC2000006) GENAPI_E_INVALID_NODEHANDLE
((GENAPIC_RESULT) 0xC2000004) GENAPI_E_INVALID_NODEMAPHANDLE
((GENAPIC_RESULT) 0xC2000008) GENAPI_E_LIMITS_EXCEEDED
((GENAPIC_RESULT) 0xC2000010) GENAPI_E_LOGICAL_ERROR
((GENAPIC_RESULT) 0xC2000005) GENAPI_E_NODE_NOT_FOUND
((GENAPIC_RESULT) 0xC200000E) GENAPI_E_OBJECT_ILLEGAL_STATE
((GENAPIC_RESULT) 0) GENAPI_E_OK
((GENAPIC_RESULT) 0xC2000009) GENAPI_E_PROPERTY_ERROR
((GENAPIC_RESULT) 0xC2000007) GENAPI_E_RESULT_RANGE_EXCEEDED
((GENAPIC_RESULT) 0xC200000A) GENAPI_E_TIMEOUT
((GENAPIC_RESULT) 0xC200000B) GENAPI_E_TYPE_ERROR
((GENAPIC_RESULT) 0xC300000B) PYLON_E_INVALID_AVIWRITERHANDLE
((GENAPIC_RESULT) 0xC3000005) PYLON_E_INVALID_CHUNKPARSERHANDLE
((GENAPIC_RESULT) 0xC3000009) PYLON_E_INVALID_CONVERTERHANDLE
((GENAPIC_RESULT) 0xC300000E) PYLON_E_INVALID_DECOMPRESSORHANDLE
((GENAPIC_RESULT) 0xC3000001) PYLON_E_INVALID_DEVICEHANDLE
((GENAPIC_RESULT) 0xC3000003) PYLON_E_INVALID_DEVICEINFO_PROPERTY
((GENAPIC_RESULT) 0xC3000002) PYLON_E_INVALID_DEVICEINFOHANDLE
((GENAPIC_RESULT) 0xC3000008) PYLON_E_INVALID_EVENTADAPTERHANDLE
((GENAPIC_RESULT) 0xC3000007) PYLON_E_INVALID_EVENTGRABBERHANDLE
((GENAPIC_RESULT) 0xC300000C) PYLON_E_INVALID_INTERFACEHANDLE
((GENAPIC_RESULT) 0xC300000D) PYLON_E_INVALID_INTERFACEINFOHANDLE
((GENAPIC_RESULT) 0xC3000004) PYLON_E_INVALID_STREAMGRABBERHANDLE
((GENAPIC_RESULT) 0xC3000006) PYLON_E_INVALID_WAITOBJECTHANDLE
((GENAPIC_RESULT) 0xC300000A) PYLON_E_INVALID_WAITOBJECTSHANDLE

Detailed Description#

Error codes returned by any of the pylon C API functions.

Note

If a function returns an error, you must call GenApiGetLastErrorMessage() and/or GenApiGetLastErrorDetail() directly after you received the error. Calling other functions will either reset or overwrite the error text.

These error codes can be returned from any of the pylon C API functions.

To get a textual representation for the error code you can call GenApiGetLastErrorMessage().

To get a detailed error description you can call GenApiGetLastErrorDetail(). The string returned will contain the specific reason why the call has failed.

Macros Documentation#

define GENAPI_E_FAIL#

#define GENAPI_E_FAIL ((GENAPIC_RESULT) 0xC2000001)

Unspecified error occurred. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_INDEX_ERROR#

#define GENAPI_E_INDEX_ERROR ((GENAPIC_RESULT) 0xC200000C)

An index is out of range.

define GENAPI_E_INSUFFICIENT_BUFFER#

#define GENAPI_E_INSUFFICIENT_BUFFER ((GENAPIC_RESULT) 0xC2000003)

Buffer size passed is less than required.

define GENAPI_E_INVALID_ARG#

#define GENAPI_E_INVALID_ARG ((GENAPIC_RESULT) 0xC2000002)

Function called with invalid argument.

define GENAPI_E_INVALID_FILEHANDLE#

#define GENAPI_E_INVALID_FILEHANDLE ((GENAPIC_RESULT) 0xC2000011)

An invalid file handle has been passed.

define GENAPI_E_INVALID_NODECALLBACKHANDLE#

#define GENAPI_E_INVALID_NODECALLBACKHANDLE ((GENAPIC_RESULT) 0xC200000F)

An invalid callback handle has been passed.

define GENAPI_E_INVALID_NODEHANDLE#

#define GENAPI_E_INVALID_NODEHANDLE ((GENAPIC_RESULT) 0xC2000006)

An invalid node handle has been passed.

define GENAPI_E_INVALID_NODEMAPHANDLE#

#define GENAPI_E_INVALID_NODEMAPHANDLE ((GENAPIC_RESULT) 0xC2000004)

An invalid node map handle has been passed.

define GENAPI_E_LIMITS_EXCEEDED#

#define GENAPI_E_LIMITS_EXCEEDED ((GENAPIC_RESULT) 0xC2000008)

The value exceeds the valid range.

define GENAPI_E_LOGICAL_ERROR#

#define GENAPI_E_LOGICAL_ERROR ((GENAPIC_RESULT) 0xC2000010)

Program logic error. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_NODE_NOT_FOUND#

#define GENAPI_E_NODE_NOT_FOUND ((GENAPIC_RESULT) 0xC2000005)

Specified node not found in node map.

define GENAPI_E_OBJECT_ILLEGAL_STATE#

#define GENAPI_E_OBJECT_ILLEGAL_STATE ((GENAPIC_RESULT) 0xC200000E)

Object state illegal for operation. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_OK#

#define GENAPI_E_OK ((GENAPIC_RESULT) 0)

Operation completed successfully.

define GENAPI_E_PROPERTY_ERROR#

#define GENAPI_E_PROPERTY_ERROR ((GENAPIC_RESULT) 0xC2000009)

Generic GenICam property error occurred. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_RESULT_RANGE_EXCEEDED#

#define GENAPI_E_RESULT_RANGE_EXCEEDED ((GENAPIC_RESULT) 0xC2000007)

A 64 bit result will be truncated if returned as a 32 bit value.

define GENAPI_E_TIMEOUT#

#define GENAPI_E_TIMEOUT ((GENAPIC_RESULT) 0xC200000A)

Timeout expired.

define GENAPI_E_TYPE_ERROR#

#define GENAPI_E_TYPE_ERROR ((GENAPIC_RESULT) 0xC200000B)

Expression has wrong type.

define PYLON_E_INVALID_AVIWRITERHANDLE#

#define PYLON_E_INVALID_AVIWRITERHANDLE ((GENAPIC_RESULT) 0xC300000B)

An invalid AVI writer handle has been passed.

define PYLON_E_INVALID_CHUNKPARSERHANDLE#

#define PYLON_E_INVALID_CHUNKPARSERHANDLE ((GENAPIC_RESULT) 0xC3000005)

An invalid ChunkParser handle has been passed.

define PYLON_E_INVALID_CONVERTERHANDLE#

#define PYLON_E_INVALID_CONVERTERHANDLE ((GENAPIC_RESULT) 0xC3000009)

An invalid Converter handle has been passed.

define PYLON_E_INVALID_DECOMPRESSORHANDLE#

#define PYLON_E_INVALID_DECOMPRESSORHANDLE ((GENAPIC_RESULT) 0xC300000E)

An invalid decompressor handle has been passed.

define PYLON_E_INVALID_DEVICEHANDLE#

#define PYLON_E_INVALID_DEVICEHANDLE ((GENAPIC_RESULT) 0xC3000001)

An invalid Device handle has been passed.

define PYLON_E_INVALID_DEVICEINFO_PROPERTY#

#define PYLON_E_INVALID_DEVICEINFO_PROPERTY ((GENAPIC_RESULT) 0xC3000003)

An invalid DeviceInfoProperty handle has been passed.

define PYLON_E_INVALID_DEVICEINFOHANDLE#

#define PYLON_E_INVALID_DEVICEINFOHANDLE ((GENAPIC_RESULT) 0xC3000002)

An invalid DeviceInfo handle has been passed.

define PYLON_E_INVALID_EVENTADAPTERHANDLE#

#define PYLON_E_INVALID_EVENTADAPTERHANDLE ((GENAPIC_RESULT) 0xC3000008)

An invalid EventAdapter handle has been passed.

define PYLON_E_INVALID_EVENTGRABBERHANDLE#

#define PYLON_E_INVALID_EVENTGRABBERHANDLE ((GENAPIC_RESULT) 0xC3000007)

An invalid EventGrabber handle has been passed.

define PYLON_E_INVALID_INTERFACEHANDLE#

#define PYLON_E_INVALID_INTERFACEHANDLE ((GENAPIC_RESULT) 0xC300000C)

An invalid Interface handle has been passed.

define PYLON_E_INVALID_INTERFACEINFOHANDLE#

#define PYLON_E_INVALID_INTERFACEINFOHANDLE ((GENAPIC_RESULT) 0xC300000D)

An invalid InterfaceInfo handle has been passed.

define PYLON_E_INVALID_STREAMGRABBERHANDLE#

#define PYLON_E_INVALID_STREAMGRABBERHANDLE ((GENAPIC_RESULT) 0xC3000004)

An invalid StreamGrabber handle has been passed.

define PYLON_E_INVALID_WAITOBJECTHANDLE#

#define PYLON_E_INVALID_WAITOBJECTHANDLE ((GENAPIC_RESULT) 0xC3000006)

An invalid WaitObject handle has been passed.

define PYLON_E_INVALID_WAITOBJECTSHANDLE#

#define PYLON_E_INVALID_WAITOBJECTSHANDLE ((GENAPIC_RESULT) 0xC300000A)

An invalid WaitObjects handle has been passed.


Updated on 5 July 2022 at 12:01:38