fg_error_codes.h Source File
C:
Temp
Install
include
fg_error_codes.h
Go to the documentation of this file.
1
14
#ifndef __FG_ERROR_CODES_H
15
#define __FG_ERROR_CODES_H
16
17
#include <stdint.h>
18
19
#include "
os_type.h
"
20
#include "
sisoboards.h
"
21
22
23
/* Status codes */
24
#define FG_OK 0
25
#define FG_INIT_OK 1
26
#define FG_SOFTWARE_TRIGGER_PENDING 8803
27
31
/* Error codes */
32
#define FG_ERROR -1
33
#define FG_DUMMY_BUFFER -1
34
#define FG_NO_PICTURE_AVAILABLE -2
35
#define FG_ENV_NOT_SET -5
36
#define FG_ENV_NOT_SET -5
//deprecated
37
38
#define FG_INVALID_HANDLE -6
39
40
#define FG_ALR_INIT -10
41
#define FG_NOT_AVAILABLE -12
42
#define FG_NO_BOARD_AVAILABLE -20
43
#define FG_INVALID_BOARD_NUMBER -21
44
#define FG_BOARD_INIT_FAILED -22
45
#define FG_INVALID_CLOCK -23
46
#define FG_INVALID_DESIGN_NAME -26
47
#define FG_SYSTEM_LOCKED -27
48
#define FG_RESSOURCES_STILL_IN_USE -28
49
#define FG_CLOCK_INIT_FAILED -29
50
#define FG_WRONG_ARCHITECTURE -50
51
#define FG_WRONG_FIRMWARE_VERSION -51
52
#define FG_WRONG_RUNTIME_VERSION -52
53
#define FG_WRONG_FIRMWARE_PCIE_VERSION -53
54
#define FG_SOFTWARE_TRIGGER_BUSY -60
55
#define FG_INVALID_PORT_NUMBER -61
56
57
#define FG_EXCEPTION_IN_APPLET -99
58
#define FG_HAP_FILE_NOT_LOAD -100
59
#define FG_FILE_NOT_FOUND -101
60
#define FG_APPLET_NOT_ACCEPTED -102
61
#define FG_RECONFIGURATION_DISABLED \
62
-103
64
#define FG_RESTART_REQUIRED -104
65
#define FG_POWERCYCLE_REQUIRED -105
67
#define FG_MICROENABLE_NOT_INIT -110
68
#define FG_DLL_NOT_LOAD -120
69
#define FG_REG_KEY_NOT_FOUND -121
70
#define FG_VASDLL_NOT_LOAD -122
71
#define FG_ERROR_LOADING_MODULE -123
72
#define FG_ERROR_LOADING_MODULE_INT -124
73
#define FG_UNEXPECTED_HAPLOAD -130
74
#define FG_SIZE_ERROR -200
75
#define FG_PTR_INVALID -300
76
#define FG_RANGE_ERR -400
77
#define FG_OVERFLOW_ERR -401
78
#define FG_NOT_ENOUGH_MEM -500
79
#define FG_DMATRANSFER_INVALID -600
80
#define FG_HAP_FILE_DONT_MATCH -700
81
#define FG_VERSION_MISMATCH -701
82
#define FG_ACCESS_DENIED -702
83
#define FG_RUNTIME_VERSION_TOO_OLD -703
84
85
#define FG_NOT_INIT -2001
86
#define FG_WRONG_SIZE -2002
87
#define FG_WRONG_NUMBER_OF_BUFFER -2010
88
#define FG_TOO_MANY_BUFFER -2011
89
#define FG_NOT_ENOUGH_MEMORY -2020
90
#define FG_MEMORY_ALREADY_ALLOCATED -2024
91
#define FG_CANNOT_WRITE_MEM_CONFIG_FAILED -2026
92
#define FG_INTERNAL_STATUS_ERROR -2030
93
#define FG_INTERNAL_ERROR -2031
94
#define FG_CANNOT_START -2040
95
#define FG_CANNOT_STOP -2042
96
#define FG_SYNC_ACQUIRE_NOT_SUPPORTED -2045
97
#define FG_INVALID_DESIGN -2050
99
#define FG_CONFIGURE_FAILED -2052
100
#define FG_RECONFIGURE_FAILED -2053
101
#define FG_NO_APPLET_ID -2055
102
103
#define FG_INVALID_MEMORY -2060
104
#define FG_MEMORY_IN_USE -2061
105
#define FG_INVALID_PARAMETER -2070
106
#define FG_ILLEGAL_WHILE_APC -2071
107
#define FG_APC_PRIORITY_ERROR -2072
108
#define FG_APC_ALREADY_REGISTERED -2073
110
#define FG_INVALID_VALUE -2075
111
#define FG_INVALID_FILENAME -2076
112
#define FG_INVALID_FILESIZE -2077
113
#define FG_INVALID_TYPE -2078
115
#define FG_INVALID_REGISTER -7040
116
#define FG_INVALID_MODULO -7080
117
#define FG_INVALID_CONFIGFILE -5000
118
#define FG_INVALID_CONFIGFILEEXT FG_INVALID_CONFIGFILE
119
#define FG_FILE_ACCESS_DENIED -5001
120
121
#define FG_ERROR_FREQUENCY_TOO_HIGH_FOR_PFG -2077
122
#define FG_ERROR_VALUE_TOO_LOW_FOR_FPS_OR_WIDTH_OR_DELAY -2078
123
#define FG_ERROR_VALUE_TOO_HIGH_FOR_FPS_OR_WIDTH_OR_DELAY -2079
124
125
#define FG_NOT_LOAD -2080
126
#define FG_ALREADY_STARTED -2090
127
#define FG_OPERATION_ABORTED -2091
128
#define FG_STILL_ACTIVE -2100
129
#define FG_NO_VALID_DESIGN -2110
130
#define FG_TIMEOUT_ERR -2120
131
#define FG_NOT_IMPLEMENTED -2130
132
#define FG_WRONG_TRIGGER_MODE -2140
133
#define FG_NOT_WRONG_TRIGGER_MODE FG_WRONG_TRIGGER_MODE
134
#define FG_WRONG_TRIGGER_STATE -2141
135
#define FG_ALL_BUFFER_BLOCKED -2150
136
137
#define FG_NO_EVENTS_FOUND -2160
138
#define FG_CANNOT_COMBINE_DATA_EVENTS \
139
-2161
140
#define FG_INVALID_EVENTMASK -2162
142
#define FG_CANNOT_INIT_MICROENABLE -3000
143
#define FG_TRANSFER_NOT_ACTIVE -3010
144
#define FG_CLOCK_NOT_LOCKED -3120
145
#define FG_STILL_NOT_STARTED -4000
146
#define FG_VALUE_OUT_OF_RANGE -6000
147
#define FG_CANNOT_CHANGE_DISPLAY_WIDTH -7000
148
#define FG_CANNOT_CHANGE_DISPLAY_HEIGHT -7005
149
#define FG_CANNOT_CHANGE_DISPLAY_SIZE -7010
150
#define FG_NO_VALID_LICENSE -7020
151
#define FG_HAP_FILE_CORRUPTED -7021
152
#define FG_CANNOT_CHANGE_CAMERA_FORMAT -7030
153
#define FG_REGISTER_INIT_FAILED -7050
154
#define FG_INVALID_SHADING_CORRECTION_FILE -7060
155
#define FG_WRITE_LINE_SHADING_TIMEOUT -7070
156
#define FG_INVALID_IMAGE_DIMENSIONS -7071
157
#define FG_ERR_INVALID_FILE_DATA -7072
158
#define FG_ERR_RANGE_ERROR -7073
159
#define FG_CANNOT_CHANGE_DURING_ACQU -7090
160
#define FG_TOKEN_NOT_FOUND_ERROR -8000
161
#define FG_WRITE_ACCESS_DENIED -8010
162
#define FG_REGISTER_UPDATE_FAILED -8020
163
#define FG_DEVICE_IO_ERROR -9000
164
#define FG_INVALID_CONFIG_REGION -9001
165
#define FG_DEVICE_REMOVED -9002
166
#define FG_PARAMETER_NOT_IN_FILE -9003
167
168
#endif
os_type.h
Definitions for platform dependent types.
sisoboards.h