EGrabber Reference  10.1.0.4
GenTL_v1_5_EuresysCustom.h
Go to the documentation of this file.
1 /* Copyright Euresys 2015 */
2 
3 #ifndef GENTL_V1_4_EURESYS_CUSTOM_HEADER_FILE
4 #define GENTL_V1_4_EURESYS_CUSTOM_HEADER_FILE
5 
12 #if !defined(EURESYS_GENTL_INCLUDE_ONLY_ENUM_DEFS)
13 #if !defined(GC_IMPORT_EXPORT) || !defined(GC_CALLTYPE)
14 #error Include GenTL header file before GenTL_v1_5_EuresysCustom.h
15 #endif
16 
17 #ifdef __cplusplus
18 extern "C" {
19 namespace GenTL {
20 namespace EuresysCustomGenTL {
21 #endif
22 #endif
23 
32 {
41  GC_ERR_CUSTOM_REVOKE_ERROR_FOLLOWING_ANNOUNCE_ERROR = GC_ERR_CUSTOM_ID - 10,
60  /* Following codes are custom error codes returned by the driver */
62  GC_ERR_CUSTOM_IOCTL_BASE = -20000, // Reserved
64  GC_ERR_CUSTOM_IOCTL_PCI_WRITE_CONFIG_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 3,
65  GC_ERR_CUSTOM_IOCTL_PCI_READ_CONFIG_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 4,
66  GC_ERR_CUSTOM_IOCTL_DS_CREATE_NO_DMA_ENGINE = GC_ERR_CUSTOM_IOCTL_BASE - 5,
67  GC_ERR_CUSTOM_IOCTL_DS_CREATE_NO_IRQ_HANDLER = GC_ERR_CUSTOM_IOCTL_BASE - 6,
68  GC_ERR_CUSTOM_IOCTL_DS_REGISTER_EVENT_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 7,
69  GC_ERR_CUSTOM_IOCTL_DS_GET_INFO_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 8, // Reserved
72  GC_ERR_CUSTOM_IOCTL_DS_OPEN_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 9,
73  GC_ERR_CUSTOM_IOCTL_DS_START_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 10,
74  GC_ERR_CUSTOM_IOCTL_DS_STOP_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 11, // Reserved
76  GC_ERR_CUSTOM_IOCTL_DEV_GET_INFO_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 12, // Reserved
78  GC_ERR_CUSTOM_IOCTL_DEV_GET_URL_INFO_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 13,
79  GC_ERR_CUSTOM_IOCTL_CXP_CONNECTION_WRITE_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 14,
80  GC_ERR_CUSTOM_IOCTL_CXP_CONNECTION_READ_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 15,
81  GC_ERR_CUSTOM_IOCTL_CXP_MASTER_CONNECTION_NOT_FOUND = GC_ERR_CUSTOM_IOCTL_BASE - 16, // Reserved
83  GC_ERR_CUSTOM_IOCTL_CXP_HOST_LIBRARY_CMD_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 17, // Reserved
85  GC_ERR_CUSTOM_IOCTL_BUFFER_ANNOUNCE_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 18,
86  GC_ERR_CUSTOM_IOCTL_STOP_TIMEOUT = GC_ERR_CUSTOM_IOCTL_BASE - 19,
87  GC_ERR_CUSTOM_IOCTL_I2C_FAILED = GC_ERR_CUSTOM_IOCTL_BASE - 20,
88  GC_ERR_CUSTOM_IOCTL_BANK_SELECT_INCONSISTENCY = GC_ERR_CUSTOM_IOCTL_BASE - 21,
89 };
90 
93 {
107 };
108 
122 {
127 };
128 
132 {
137 };
138 
139 #define EVENT_DATA_NUMID_CUSTOM_BASE 0x8000
140 
143 {
144  // EVENT_CUSTOM_IO_TOOLBOX
183  // EVENT_CUSTOM_CXP_INTERFACE
192  // EVENT_CUSTOM_CIC
203  // EVENT_CUSTOM_DATASTREAM
210 };
211 typedef unsigned long long EVENT_DATA_NUMID_CUSTOM;
212 
218 {
223 };
224 
230 {
233 };
234 
240 {
244 };
245 
251 {
257 };
258 
264 {
267 };
268 
275 #if !defined(EURESYS_GENTL_INCLUDE_ONLY_ENUM_DEFS)
276 GC_API EuresysDSAnnounceBusBuffer (DS_HANDLE hDataStream, uint64_t busAddress, size_t iSize, void *reserved, void *pPrivate, BUFFER_HANDLE *phBuffer);
278 GC_API_P(PEuresysDSAnnounceBusBuffer)(DS_HANDLE hDataStream, uint64_t busAddress, size_t iSize, void *reserved, void *pPrivate, BUFFER_HANDLE *phBuffer);
282 {
284  void *pBuffer;
285  size_t *piSize;
286  int bGotData;
288 
304 GC_API EuresysEventsGetData (EURESYS_EVENT_GET_DATA_ENTRY *pEntries, size_t iNumEntries, uint64_t *piTimeout);
306 GC_API_P(PEuresysEventsGetData)(EURESYS_EVENT_GET_DATA_ENTRY *pEntries, size_t iNumEntries, uint64_t *piTimeout);
308 #endif
309 
312 #if !defined(EURESYS_GENTL_INCLUDE_ONLY_ENUM_DEFS)
313 #ifdef __cplusplus
314 }
315 }
316 }
317 #endif
318 #endif
319 
320 #endif
SIZET Line pitch.
Definition: GenTL_v1_5_EuresysCustom.h:100
End of camera trigger.
Definition: GenTL_v1_5_EuresysCustom.h:194
CIC trigger.
Definition: GenTL_v1_5_EuresysCustom.h:202
Stops acquiring data of an image frame (area-scan only)
Definition: GenTL_v1_5_EuresysCustom.h:205
Line Input Tool 8.
Definition: GenTL_v1_5_EuresysCustom.h:152
Notification of data stream events (on DataStream module)
Definition: GenTL_v1_5_EuresysCustom.h:125
Driver could not open DataStream module.
Definition: GenTL_v1_5_EuresysCustom.h:72
Line Input Tool 5.
Definition: GenTL_v1_5_EuresysCustom.h:149
Delay Tool 3 Output 2.
Definition: GenTL_v1_5_EuresysCustom.h:174
Divider Tool 1.
Definition: GenTL_v1_5_EuresysCustom.h:161
No handle associated to an opened object was found.
Definition: GenTL_v1_5_EuresysCustom.h:35
EVENT_TYPE_CUSTOM_LIST
This enumeration defines Euresys custom events that can be registered with the GenTL::GCRegisterEvent...
Definition: GenTL_v1_5_EuresysCustom.h:121
Failed to access the driver.
Definition: GenTL_v1_5_EuresysCustom.h:39
Line Input Tool 3.
Definition: GenTL_v1_5_EuresysCustom.h:147
User Event 1.
Definition: GenTL_v1_5_EuresysCustom.h:177
UINT16 Tap geometry (words 23-24 in the CoaXPress rectangular image header)
Definition: GenTL_v1_5_EuresysCustom.h:98
Cause: internal exception (image buffer almost full)
Definition: GenTL_v1_5_EuresysCustom.h:256
Delay Tool 2 Output 1.
Definition: GenTL_v1_5_EuresysCustom.h:171
Caught a C++ std::exception.
Definition: GenTL_v1_5_EuresysCustom.h:44
Dropped image frame data (area-scan only)
Definition: GenTL_v1_5_EuresysCustom.h:208
Cause: DSStopAcquisition.
Definition: GenTL_v1_5_EuresysCustom.h:255
Notification of CoaXPress events (on Interface module)
Definition: GenTL_v1_5_EuresysCustom.h:126
UINT64 Timestamp of the event.
Definition: GenTL_v1_5_EuresysCustom.h:133
Driver could not find a DMA engine.
Definition: GenTL_v1_5_EuresysCustom.h:66
Delay Tool 3 Output 1.
Definition: GenTL_v1_5_EuresysCustom.h:173
UINT64 Value of data stream StripeArrangement when the buffer was announced.
Definition: GenTL_v1_5_EuresysCustom.h:105
An external module could not be loaded.
Definition: GenTL_v1_5_EuresysCustom.h:50
A lock issue has been detected.
Definition: GenTL_v1_5_EuresysCustom.h:36
Quadrature Decoder Tool 2 Changed Direction.
Definition: GenTL_v1_5_EuresysCustom.h:156
Cause: maximum number of pending triggers already reached.
Definition: GenTL_v1_5_EuresysCustom.h:221
Definition: GenTL_v1_5.h:602
User Event 2.
Definition: GenTL_v1_5_EuresysCustom.h:178
Detected CRC error on CXP connector F.
Definition: GenTL_v1_5_EuresysCustom.h:189
EVENT_DATA_NUMID_CUSTOM_LIST
This enumeration defines how to interpret the EVENT_DATA_NUMID for Euresys custom events...
Definition: GenTL_v1_5_EuresysCustom.h:142
Detected CRC error on CXP connector H.
Definition: GenTL_v1_5_EuresysCustom.h:191
Resent CXP trigger message (acknowledgement to previous CXP trigger message not received) ...
Definition: GenTL_v1_5_EuresysCustom.h:201
Event Input Tool 1.
Definition: GenTL_v1_5_EuresysCustom.h:181
Definition: GenTL_v1_5.h:578
An alignment error occurred while accessing a module port.
Definition: GenTL_v1_5_EuresysCustom.h:45
Received acknowledgement for previous CXP trigger message.
Definition: GenTL_v1_5_EuresysCustom.h:200
SIZET Value of data stream StripeHeight when the buffer was announced.
Definition: GenTL_v1_5_EuresysCustom.h:103
Detected CRC error on CXP connector B.
Definition: GenTL_v1_5_EuresysCustom.h:185
#define GC_API_P(function)
Definition: GenTL_v1_5.h:718
Data type mismatch.
Definition: GenTL_v1_5_EuresysCustom.h:53
Divider Tool 2.
Definition: GenTL_v1_5_EuresysCustom.h:162
A wait operation has been interrupted.
Definition: GenTL_v1_5_EuresysCustom.h:47
Notification of IO Toolbox events (on Interface module)
Definition: GenTL_v1_5_EuresysCustom.h:123
Cause: image buffer is full.
Definition: GenTL_v1_5_EuresysCustom.h:219
User Event 4.
Definition: GenTL_v1_5_EuresysCustom.h:180
Delay Tool 2 Output 2.
Definition: GenTL_v1_5_EuresysCustom.h:172
Delay Tool 4 Output 2.
Definition: GenTL_v1_5_EuresysCustom.h:176
EVENT_HANDLE hEvent
event handle to wait for
Definition: GenTL_v1_5_EuresysCustom.h:283
struct GenTL::EuresysCustomGenTL::S_EURESYS_EVENT_GET_DATA_ENTRY EURESYS_EVENT_GET_DATA_ENTRY
Driver has no IRQ handler.
Definition: GenTL_v1_5_EuresysCustom.h:67
Driver was not able to announce a buffer.
Definition: GenTL_v1_5_EuresysCustom.h:85
Stops acquiring data of an image scan (line-scan only)
Definition: GenTL_v1_5_EuresysCustom.h:207
User Event 3.
Definition: GenTL_v1_5_EuresysCustom.h:179
Key doesn't match programmed OEM safety key.
Definition: GenTL_v1_5_EuresysCustom.h:55
Definition: EuresysGenapi.h:26
Cannot access notification object state.
Definition: GenTL_v1_5_EuresysCustom.h:49
A GenApi error has occurred.
Definition: GenTL_v1_5_EuresysCustom.h:57
void * pBuffer
buffer to receive event data
Definition: GenTL_v1_5_EuresysCustom.h:284
BOOL8 Flag to indicate that the buffer is the last of a scan.
Definition: GenTL_v1_5_EuresysCustom.h:95
Definition: GenTL_v1_5.h:432
Detected CRC error on CXP connector C.
Definition: GenTL_v1_5_EuresysCustom.h:186
EVENT_DATA_INFO_CUSTOM_CMD_LIST
This enumeration defines Euresys custom commands to retrieve information with the GenTL::EventGetData...
Definition: GenTL_v1_5_EuresysCustom.h:131
unsigned long long EVENT_DATA_NUMID_CUSTOM
Definition: GenTL_v1_5_EuresysCustom.h:211
SIZET Value of data stream LineWidth when the buffer was announced.
Definition: GenTL_v1_5_EuresysCustom.h:101
Event Input Tool 2.
Definition: GenTL_v1_5_EuresysCustom.h:182
EVENT_SPECIFIC_CIC_DISCARDED_CIC_TRIGGER_LIST
Value of EventSpecific for GenTL::EuresysCustomGenTL::EVENT_DATA_NUMID_CIC_DISCARDED_CIC_TRIGGER is a...
Definition: GenTL_v1_5_EuresysCustom.h:217
Start of light strobe.
Definition: GenTL_v1_5_EuresysCustom.h:195
A driver error has occurred.
Definition: GenTL_v1_5_EuresysCustom.h:40
Handles associated to a closed object were found.
Definition: GenTL_v1_5_EuresysCustom.h:34
Quadrature Decoder Tool 1 Changed Direction.
Definition: GenTL_v1_5_EuresysCustom.h:154
Line Input Tool 4.
Definition: GenTL_v1_5_EuresysCustom.h:148
Driver could not register notification object while creating the data stream.
Definition: GenTL_v1_5_EuresysCustom.h:68
UINT64 Timestamp of the new buffer event.
Definition: GenTL_v1_5_EuresysCustom.h:96
void * BUFFER_HANDLE
Definition: GenTL_v1_5.h:227
Starts acquiring data of a new image scan (line-scan only )
Definition: GenTL_v1_5_EuresysCustom.h:206
Too many GenApi contexts.
Definition: GenTL_v1_5_EuresysCustom.h:54
#define GC_API
Definition: GenTL_v1_5.h:637
size_t * piSize
size of buffer pointed to by pBuffer
Definition: GenTL_v1_5_EuresysCustom.h:285
Line Input Tool 1.
Definition: GenTL_v1_5_EuresysCustom.h:145
Driver detected a flash bank select inconsistency.
Definition: GenTL_v1_5_EuresysCustom.h:88
Cause: reached scan length.
Definition: GenTL_v1_5_EuresysCustom.h:254
Ignored CIC trigger because CIC is not ready for next camera cycle.
Definition: GenTL_v1_5_EuresysCustom.h:198
UINT16 Stream ID (word 3 in the CoaXPress rectangular image header)
Definition: GenTL_v1_5_EuresysCustom.h:97
Delay Tool 4 Output 1.
Definition: GenTL_v1_5_EuresysCustom.h:175
GC_API EuresysDSAnnounceBusBuffer(DS_HANDLE hDataStream, uint64_t busAddress, size_t iSize, void *reserved, void *pPrivate, BUFFER_HANDLE *phBuffer)
Detected CRC error on CXP connector D.
Definition: GenTL_v1_5_EuresysCustom.h:187
Quadrature Decoder Tool 4.
Definition: GenTL_v1_5_EuresysCustom.h:159
Driver error while getting remote device URL information.
Definition: GenTL_v1_5_EuresysCustom.h:78
Delay Tool 1 Output 1.
Definition: GenTL_v1_5_EuresysCustom.h:169
SIZET Value of data stream StripePitch when the buffer was announced.
Definition: GenTL_v1_5_EuresysCustom.h:104
Definition: GenTL_v1_5_EuresysCustom.h:281
GC_CUSTOM_ERROR_LIST
This enumeration defines Euresys custom errors (GenTL::GC_ERROR)
Definition: GenTL_v1_5_EuresysCustom.h:31
UINT16 Image flags (word 25 in the CoaXPress rectangular image header)
Definition: GenTL_v1_5_EuresysCustom.h:99
void * EVENT_HANDLE
Definition: GenTL_v1_5.h:232
Some silent errors occurred.
Definition: GenTL_v1_5_EuresysCustom.h:37
UINT32 Value of EventNotificationContext1 for this event (latched at the time the event occurred) ...
Definition: GenTL_v1_5_EuresysCustom.h:134
Driver could not stop the acquisition engine in a timely fashion.
Definition: GenTL_v1_5_EuresysCustom.h:86
Delay Tool 1 Output 2.
Definition: GenTL_v1_5_EuresysCustom.h:170
BUFFER_INFO_CUSTOM_CMD_LIST
This enumeration defines Euresys custom commands to retrieve information with the GenTL::DSGetBufferI...
Definition: GenTL_v1_5_EuresysCustom.h:92
EVENT_SPECIFIC_DATASTREAM_REJECTED_FRAME_LIST
Value of EventSpecific for GenTL::EuresysCustomGenTL::EVENT_DATA_NUMID_DATASTREAM_REJECTED_FRAME is a...
Definition: GenTL_v1_5_EuresysCustom.h:263
#define EVENT_DATA_NUMID_CUSTOM_BASE
Definition: GenTL_v1_5_EuresysCustom.h:139
Driver could not start the acquisition engine.
Definition: GenTL_v1_5_EuresysCustom.h:73
void * DS_HANDLE
Definition: GenTL_v1_5.h:221
Detected CRC error on CXP connector E.
Definition: GenTL_v1_5_EuresysCustom.h:188
Library path cannot be retrieved.
Definition: GenTL_v1_5_EuresysCustom.h:38
EVENT_SPECIFIC_CIC_PENDING_CIC_TRIGGER_LIST
Value of EventSpecific for GenTL::EuresysCustomGenTL::EVENT_DATA_NUMID_CIC_PENDING_CIC_TRIGGER is a b...
Definition: GenTL_v1_5_EuresysCustom.h:229
Multiplier/Divider Tool 1.
Definition: GenTL_v1_5_EuresysCustom.h:165
Driver could not write to PCI configuration space of device.
Definition: GenTL_v1_5_EuresysCustom.h:64
Multiplier/Divider Tool 3.
Definition: GenTL_v1_5_EuresysCustom.h:167
Driver could not not read remote device CoaXPress register.
Definition: GenTL_v1_5_EuresysCustom.h:80
Cause: hardware trigger.
Definition: GenTL_v1_5_EuresysCustom.h:253
Driver could not read from PCI configuration space of device.
Definition: GenTL_v1_5_EuresysCustom.h:65
Detected CRC error on CXP connector A.
Definition: GenTL_v1_5_EuresysCustom.h:184
Cause: DSStartAcquisition or end of previous scan.
Definition: GenTL_v1_5_EuresysCustom.h:243
A wait operation failed unexpectedly.
Definition: GenTL_v1_5_EuresysCustom.h:46
A string is too long.
Definition: GenTL_v1_5_EuresysCustom.h:52
Delayed CIC trigger until CIC is ready for next camera cycle.
Definition: GenTL_v1_5_EuresysCustom.h:199
BOOL8 Flag to indicate that the buffer is the first of a scan.
Definition: GenTL_v1_5_EuresysCustom.h:94
Cannot create notification object.
Definition: GenTL_v1_5_EuresysCustom.h:48
Notification of CIC events (on Device module)
Definition: GenTL_v1_5_EuresysCustom.h:124
Quadrature Decoder Tool 3.
Definition: GenTL_v1_5_EuresysCustom.h:157
Line Input Tool 6.
Definition: GenTL_v1_5_EuresysCustom.h:150
Quadrature Decoder Tool 2.
Definition: GenTL_v1_5_EuresysCustom.h:155
GC_API EuresysEventsGetData(EURESYS_EVENT_GET_DATA_ENTRY *pEntries, size_t iNumEntries, uint64_t *piTimeout)
Wait for multiple events.
Quadrature Decoder Tool 4 Changed Direction.
Definition: GenTL_v1_5_EuresysCustom.h:160
Line Input Tool 7.
Definition: GenTL_v1_5_EuresysCustom.h:151
A required symbol was not found.
Definition: GenTL_v1_5_EuresysCustom.h:51
Line Input Tool 2.
Definition: GenTL_v1_5_EuresysCustom.h:146
Divider Tool 4.
Definition: GenTL_v1_5_EuresysCustom.h:164
Cause: image buffer is full.
Definition: GenTL_v1_5_EuresysCustom.h:231
UINT32 Value of EventNotificationContext2 for this event (latched at the time the event occurred) ...
Definition: GenTL_v1_5_EuresysCustom.h:135
EVENT_SPECIFIC_DATASTREAM_END_OF_SCAN_LIST
Value of EventSpecific for GenTL::EuresysCustomGenTL::EVENT_DATA_NUMID_DATASTREAM_END_OF_SCAN is a bi...
Definition: GenTL_v1_5_EuresysCustom.h:250
SIZET Value of data stream LinePitch when the buffer was announced.
Definition: GenTL_v1_5_EuresysCustom.h:102
Different handles to the same object were found.
Definition: GenTL_v1_5_EuresysCustom.h:33
Driver could not not write to remote device CoaXPress register.
Definition: GenTL_v1_5_EuresysCustom.h:79
Multiplier/Divider Tool 2.
Definition: GenTL_v1_5_EuresysCustom.h:166
Cause: data stream is not active.
Definition: GenTL_v1_5_EuresysCustom.h:266
Divider Tool 3.
Definition: GenTL_v1_5_EuresysCustom.h:163
Starts acquiring data of a new image frame (area-scan only)
Definition: GenTL_v1_5_EuresysCustom.h:204
int bGotData
flag updated by EuresysEventsGetData indicating whether data was received
Definition: GenTL_v1_5_EuresysCustom.h:286
UINT32 CustomLogic Status associated to the buffer.
Definition: GenTL_v1_5_EuresysCustom.h:106
Definition: GenTL_v1_5.h:179
Detected CRC error on CXP connector G.
Definition: GenTL_v1_5_EuresysCustom.h:190
Cause: software trigger.
Definition: GenTL_v1_5_EuresysCustom.h:241
EVENT_SPECIFIC_DATASTREAM_START_OF_SCAN_LIST
Value of EventSpecific for GenTL::EuresysCustomGenTL::EVENT_DATA_NUMID_DATASTREAM_START_OF_SCAN is a ...
Definition: GenTL_v1_5_EuresysCustom.h:239
Multiplier/Divider Tool 4.
Definition: GenTL_v1_5_EuresysCustom.h:168
End of light strobe.
Definition: GenTL_v1_5_EuresysCustom.h:196
Quadrature Decoder Tool 3 Changed Direction.
Definition: GenTL_v1_5_EuresysCustom.h:158
Cause: camera cycle not complete.
Definition: GenTL_v1_5_EuresysCustom.h:232
Driver I2C error.
Definition: GenTL_v1_5_EuresysCustom.h:87
Cause: data stream is not active.
Definition: GenTL_v1_5_EuresysCustom.h:222
Cause: software trigger.
Definition: GenTL_v1_5_EuresysCustom.h:252
Dropped image scan data (line-scan only)
Definition: GenTL_v1_5_EuresysCustom.h:209
Cause: hardware trigger.
Definition: GenTL_v1_5_EuresysCustom.h:242
An error occurred while processing an image.
Definition: GenTL_v1_5_EuresysCustom.h:58
Quadrature Decoder Tool 1.
Definition: GenTL_v1_5_EuresysCustom.h:153
Cause: camera cycle not complete.
Definition: GenTL_v1_5_EuresysCustom.h:220
UINT32 Value of EventNotificationContext3 for this event (latched at the time the event occurred) ...
Definition: GenTL_v1_5_EuresysCustom.h:136
Start of camera trigger.
Definition: GenTL_v1_5_EuresysCustom.h:193
CIC is ready for next camera cycle.
Definition: GenTL_v1_5_EuresysCustom.h:197
Cause: image buffer is full.
Definition: GenTL_v1_5_EuresysCustom.h:265