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