siso_genicam_error.h Source File

siso_genicam_error.h
Go to the documentation of this file.
1
13#ifndef __SISO_GENICAM_ERROR_H__
14#define __SISO_GENICAM_ERROR_H__
15
17#define SGC_OK 0
20#define ERR_SGC_INVALID_CAMHANDLE -1000
21#define ERR_SGC_INVALID_BOARDHANDLE -1001
22#define ERR_SGC_FILENOTFOUND -1002
23#define ERR_SGC_INVALIDFILENAME -1003
24#define ERR_SGC_FILEACCESS -1006
25#define ERR_SGC_NO_DATA -1008
26#define ERR_SGC_INDEX_OUT_OF_RANGE -1009
27#define ERR_SGC_NO_INTERFACE -1010
28#define ERR_SGC_GENICAM_NOT_SUPPORTED -1011
29#define ERR_SGC_BUFFER_TOO_SMALL -1012
30#define ERR_SGC_ACCESS_DENIED -1013
31#define ERR_SGC_INVALID_DATA -1014
32#define ERR_SGC_BUSY -1015
33#define ERR_SGC_NO_EVENT_HANDLER -1016
34#define ERR_SGC_INVALID_PTR -1017
35#define ERR_SGC_NOT_ENOUGH_MEM -1018
36#define ERR_SGC_AGAIN -1020
37#define ERR_SGC_LOADING_FILE ERR_SGC_FILEACCESS
40#define ERR_SGC_NO_XML_CONNECTION -1100
41#define ERR_SGC_INVALID_PROPERTY -1101
42#define ERR_SGC_INVALID_FEATURE -1102
43#define ERR_SGC_INVALID_COMMAND -1103
44#define ERR_SGC_CANNOT_READ_WRITE_ONLY -1104
45#define ERR_SGC_CANNOT_WRITE_READ_ONLY -1105
46#define ERR_SGC_GENICAM_EXCEPTION -1198
49#define ERR_SGC_INVALID_LINKSPEED -1200
50#define ERR_SGC_INVALID_LINKINDEX -1201
51#define ERR_SGC_CANNOTCONNECT_BITRATE -1202
52#define ERR_SGC_UNABLE_TO_SET_CXP_LINKCONFIG -1203
53#define ERR_SGC_MISSING_MASTERFOR_EXTENSIONLINK \
54 -1204
55#define ERR_SGC_STREAMPAKETSIZE_NOT_ACCEPTED -1205
56#define ERR_SGC_TOPOLOGY_MISMATCH -1206
57#define ERR_SGC_WAITFORLINK_TIMEOUT -1207
58#define ERR_SGC_INVALID_PORT -1208
59#define ERR_SGC_NO_REMOTE_MASTER -1209
60#define ERR_SGC_NO_CAMERA_FOUND -1210
61#define ERR_SGC_NOT_CONNECTED -1211
62#define ERR_SGC_NO_CAMERA_MASTER -1212
63#define ERR_SGC_CAMERA_DISCOVERY_INCOMPLETE -1213
66#define ERR_SGC_PARAMTYPE_MISMATCH -1990
67#define ERR_SGC_INVALID_ARG -1991
68#define ERR_SGC_INTERNAL_TIMEOUT -1997
69#define ERR_SGC_INTERNAL -1998
70#define ERR_SGC_UNEXPECTED -1999
71#define ERR_SGC_NOTIMPLEMENTED -2000
74#define ERR_SGC_BOARD_INITIALIZATION_ERROR -40018
75#define ERR_SGC_INVALID_LIB -40019
76#define ERR_SGC_LIB_NOT_LOADED -40020
79#define ERR_SGC_CLHS_XCORE_COMMAND_TIMEOUT -1501
80#define ERR_SGC_CLHS_TRANSMITBUFFER_FULL -1502
81#define ERR_SGC_CLHS_RECEIVE_ERROR -1503
82#define ERR_SGC_CLHS_XCORE_TXBUSY_TIMEOUT -1504
83#define ERR_SGC_CLHS_SENDING_ERROR -1505
84#define ERR_SGC_CLHS_XCORE_TXBUSY -1506
87#define ERR_SGC_CLHS_DISCOVERY_LLDEVICEID_WRITEACCESS_FAILED -1506
88#define ERR_SGC_CLHS_DISCOVERY_LLDEVICEID_NOT_ACCEPTED -1507
92#define ERR_SGC_GENCP_CRC_ERROR -0x0641
93#define ERR_SGC_GENCP_TIMEOUT -0x0642
94#define ERR_SGC_GENCP_INVALID_PACKET -0x0643
95#define ERR_SGC_GENCP_ACKNOWLEDGE_MISSING -0x0644
96#define ERR_SGC_GENCP_UNKNONW_GENCP_ERROR -0x0645
97#define ERR_SGC_GENCP_INSUFFICIENT_DATA -0x0646
98#define ERR_SGC_GENCP_NO_DATA -0x0647
99#define ERR_SGC_GENCP_PENDING_ACK -0x0648
100#define ERR_SGC_GENCP_INVALID_ACK -0x0649
101#define ERR_SGC_GENCP_UNKNOWPROTOCOLLERROR -0x064a
102#define ERR_SGC_GENCP_UNEXPECTED_ACK -0x064b
105#define ERR_SGC_GENCP_NATIVE_NOT_IMPLEMENTED -0x8001
106#define ERR_SGC_GENCP_NATIVE_INVALID_PARAMETER -0x8002
107#define ERR_SGC_GENCP_NATIVE_INVALID_ADDRESS -0x8003
108#define ERR_SGC_GENCP_NATIVE_WRITE_PROTECT -0x8004
109#define ERR_SGC_GENCP_NATIVE_BAD_ALIGNMENT \
110 -0x8005
111#define ERR_SGC_GENCP_NATIVE_ACCESS_DENIED -0x8006
112#define ERR_SGC_GENCP_NATIVE_GENCP_BUSY -0x8007
113#define ERR_SGC_GENCP_NATIVE_MSG_TIMEOUT -0x800B
114#define ERR_SGC_GENCP_NATIVE_INVALID_HEADER \
115 -0x800E
116#define ERR_SGC_GENCP_NATIVE_WRONG_CONFIG -0x800F
117#define ERR_SGC_GENCP_NATIVE_ERROR -0x8FFF
122#define ERR_SGC_CXP_NATIVE_TIMEOUT -0x100
125#define ERR_SGC_CXP_NATIVE_INVALID_ADDRESS -0x40
126#define ERR_SGC_CXP_NATIVE_INVALID_DATA_FOR_ADDRESS -0x41
127#define ERR_SGC_CXP_NATIVE_INVALID_CONTROL_OPERATION_CODE -0x42
128#define ERR_SGC_CXP_NATIVE_WRITE_ACCESS_DENIED -0x43
129#define ERR_SGC_CXP_NATIVE_READ_ACCESS_DENIED -0x44
130#define ERR_SGC_CXP_NATIVE_SIZE_FIELD_TOO_LARGE \
131 -0x45
132#define ERR_SGC_CXP_NATIVE_INCORRECT_SIZE_RECEIVED -0x46
133#define ERR_SGC_CXP_NATIVE_MALFORMED_PACKET -0x47
134#define ERR_SGC_CXP_NATIVE_CRC_ERROR_IN_COMMAND -0x80
137#define SGC_CXP_DATA_ACK_FINAL_WITH_PAYLOAD 0x00
138#define SGC_CXP_DATA_ACK_FINAL_NO_PAYLOAD 0x01
139#define SGC_CXP_DATA_ACK_TENTATIVE 0x02
140#define SGC_CXP_DATA_ACK_CHAN_RESET 0x03
141#define SGC_CXP_DATA_ACK_WAIT 0x04
142
143#endif