ErrorCodes#
Defines#
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#
Unspecified error occurred. Call GenApiGetLastErrorDetail() for more information about the error.
define GENAPI_E_INDEX_ERROR#
An index is out of range.
define GENAPI_E_INSUFFICIENT_BUFFER#
Buffer size passed is less than required.
define GENAPI_E_INVALID_ARG#
Function called with invalid argument.
define GENAPI_E_INVALID_FILEHANDLE#
An invalid file handle has been passed.
define GENAPI_E_INVALID_NODECALLBACKHANDLE#
An invalid callback handle has been passed.
define GENAPI_E_INVALID_NODEHANDLE#
An invalid node handle has been passed.
define GENAPI_E_INVALID_NODEMAPHANDLE#
An invalid node map handle has been passed.
define GENAPI_E_LIMITS_EXCEEDED#
The value exceeds the valid range.
define GENAPI_E_LOGICAL_ERROR#
Program logic error. Call GenApiGetLastErrorDetail() for more information about the error.
define GENAPI_E_NODE_NOT_FOUND#
Specified node not found in node map.
define GENAPI_E_OBJECT_ILLEGAL_STATE#
Object state illegal for operation. Call GenApiGetLastErrorDetail() for more information about the error.
define GENAPI_E_OK#
Operation completed successfully.
define GENAPI_E_PROPERTY_ERROR#
Generic GenICam property error occurred. Call GenApiGetLastErrorDetail() for more information about the error.
define GENAPI_E_RESULT_RANGE_EXCEEDED#
A 64 bit result will be truncated if returned as a 32 bit value.
define GENAPI_E_TIMEOUT#
Timeout expired.
define GENAPI_E_TYPE_ERROR#
Expression has wrong type.
define PYLON_E_INVALID_AVIWRITERHANDLE#
An invalid AVI writer handle has been passed.
define PYLON_E_INVALID_CHUNKPARSERHANDLE#
An invalid ChunkParser handle has been passed.
define PYLON_E_INVALID_CONVERTERHANDLE#
An invalid Converter handle has been passed.
define PYLON_E_INVALID_DECOMPRESSORHANDLE#
An invalid decompressor handle has been passed.
define PYLON_E_INVALID_DEVICEHANDLE#
An invalid Device handle has been passed.
define PYLON_E_INVALID_DEVICEINFO_PROPERTY#
An invalid DeviceInfoProperty handle has been passed.
define PYLON_E_INVALID_DEVICEINFOHANDLE#
An invalid DeviceInfo handle has been passed.
define PYLON_E_INVALID_EVENTADAPTERHANDLE#
An invalid EventAdapter handle has been passed.
define PYLON_E_INVALID_EVENTGRABBERHANDLE#
An invalid EventGrabber handle has been passed.
define PYLON_E_INVALID_INTERFACEHANDLE#
An invalid Interface handle has been passed.
define PYLON_E_INVALID_INTERFACEINFOHANDLE#
An invalid InterfaceInfo handle has been passed.
define PYLON_E_INVALID_STREAMGRABBERHANDLE#
An invalid StreamGrabber handle has been passed.
define PYLON_E_INVALID_WAITOBJECTHANDLE#
An invalid WaitObject handle has been passed.
define PYLON_E_INVALID_WAITOBJECTSHANDLE#
An invalid WaitObjects handle has been passed.