Buffer Interface
BiError.h
Go to the documentation of this file.
1 /***************************************************************************
2 *
3 * BiError.h
4 *
5 * BufIn API
6 *
7 * Types and defines for error processing
8 *
9 * Copyright (C) 1999 by BitFlow, Inc. All Rights Reserved.
10 *
11 * 07/29/99 sms created
12 *
13 ***************************************************************************/
14 
15 
16 
17 typedef enum _BIRC_Enum
18 {
19  BI_OK = 0, // Everything is good
20 
21  // BiBrdOpen
22  BI_ERROR_BOARD_NOT_FOUND, // Boards are in the host, but not the number that was specified
23  BI_ERROR_UNKNOWN_TYPE, // Board UNKNOWN, not a RoadRunner or Raven
24  BI_ERROR_SYSTEM, // Error talking to registry
25  BI_ERROR_OPENING, // Could not open board
26 
27  // BiBrdInquire()
28  BI_ERROR_BAD_BOARDPTR_INQ, // Not passing a RoadRunner or Raven to function
29  BI_ERROR_UNKNOWN_PARAMETER, // Parameter being passed is unknown
30 
31  // BiBrdClose()
32  BI_ERROR_NOCLOSE, // Could not close board
33 
34  // BiBufferAllocCam() & AlignedCam()
35  BI_ERROR_CAM_NO_MEM_AVAIL, // Lack of memory for allocation
36  BI_ERROR_CAM_FRAMESIZE, // Inquire of frame size failed.
37  BI_ERROR_CAM_STACK_MEM, // Not enough memory for error stack
38  BI_ERROR_CAM_BUFFERS_NUM, // There must be at least two buffers to allocate
39  BI_ERROR_CAM_PIXDEPTH, // Pixel depth not supported
40  BI_ERROR_CAM_UNKNOWN, // Undefined error
41 
42  // BiBufferAlloc() & Aligned()
43  BI_ERROR_NO_MEM_AVAIL, // Lack of memory for allocation
44  BI_ERROR_FRAMESIZE, // Inquire of frame size failed.
45  BI_ERROR_STACK_MEM, // Not enough memory for error stack
46  BI_ERROR_BUFFERS_NUM, // There must be at least two buffers to allocate
47  BI_ERROR_PIXDEPTH, // Pixel depth not supported
48 
49  // BiBufferAssign()
50  BI_ERROR_MEM_SIZE, // There is not enough memory allocated for current frame size
51  BI_ERROR_ASSIGN_PIXDEPTH, // Pixel depth not supported
52  BI_ERROR_NO_MEM_POINT, // Memory could not be allocated for BufIn's array of pointers
53 
54  // BiBufferFree()
55  BI_ERROR_MEM_UNASSIGN, // Please use BiBufferUnassign to free memory.
56  BI_ERROR_MEM_ALLOC_TYPE, // Unable to determine how buffers were allocated. Buffers still allocated.
57 
58  // BiBufferUnassign()
59  BI_ERROR_MEM_FREE, // Please use BiBufferFree to free memory.
60 
61  // BiSeqAqSetup( )
62  BI_ERROR_LUT_MASK, // Error in masking LUT
63  BI_ERROR_QTABARRAY_MEM, // Not enough memory for QtabArray
64  BI_ERROR_REL_QTAB, // Couldn't create all relative QTABs
65  BI_ERROR_PHYS_QTAB, // Couldn't create all physical QTABs
66  BI_ERROR_CREATE_CTAB_SIG, // Couldn't create CTAB signal
67  BI_ERROR_CREATE_THREAD, // Couldn't create worker thread
68  BI_ERROR_SIGCREATE_EX, // Couldn't create exception signal
69  BI_ERROR_SIGCREATE_OVF, // Couldn't create overflow signal
70  BI_ERROR_SIGCREATE_QUAD, // Couldn't create Quad Done signal
71  BI_ERROR_SIGCREATE_STARTSTOP, // Couldn't create start stop signal
72  BI_ERROR_CREATE_ERRORTHREAD, // Couldn't create error thread
73  BI_ERROR_ENGINEK, // DMA engine K is currently not supported
74  BI_ERROR_P_QTABARRAY_MEM, // Couldn't allocated memory for array of pointers to qtabs
75  BI_ERROR_CHAIN_LINK, // Failure linking physical qtabs together
76  BI_ERROR_QTABHOST_SKIPFRAME, // Skip frames is currently not supported for host qtabs
77  BI_ERROR_HOST_MODE, // Board is currently setup for qtabs on the board
78  BI_ERROR_SEQINFO_MEM, // Not enough memory for sequence info
79  BI_ERROR_SEQARRAY_MEM, // Not enough memory for sequence buffer info array
80  BI_ERROR_SEQ_ROI_ERROR, // Error setting ROI
81 
82  // BiSeqCleanUp( )
83  BI_ERROR_SIGCANCEL_QUAD, // Problem cancelling quad done signal
84  BI_ERROR_SIGFREE_QUAD, // Problem freeing Quad done signal
85  BI_ERROR_SIGCANCEL_STARTSTOP, // Problem cancelling start/stop signal
86  BI_ERROR_SIGFREE_STARTSTOP, // Problem freeing start/stop signal
87  BI_ERROR_SIGCANCEL_EX, // Problem cancelling exception signal
88  BI_ERROR_SIGFREE_EX, // Problem freeing exception signal
89  BI_ERROR_SIGCANCEL_OVF, // Problem cancelling overflow signal
90  BI_ERROR_SIGFREE_OVF, // Problem freeing overflow siganl
91  BI_ERROR_PHYSQTAB_FREE, // Problem freeing qhysical qtabs
92  BI_ERROR_RELQTAB_FREE, // Problem freeing relative qtabs
93  BI_ERROR_AQ_CLEANUP, // CiAqCleanUp returned a failure
94 
95  // BiCircCleanUp( )
96  BI_ERROR_CIR_SIGCANCEL_QUAD, // Problem cancelling quad done signal
97  BI_ERROR_CIR_SIGFREE_QUAD, // Problem freeing Quad done signal
98  BI_ERROR_CIR_SIGCANCEL_STARTSTOP, // Problem cancelling start/stop signal
99  BI_ERROR_CIR_SIGFREE_STARTSTOP, // Problem freeing start/stop signal
100  BI_ERROR_CIR_SIGCANCEL_EX, // Problem cancelling exception signal
101  BI_ERROR_CIR_SIGFREE_EX, // Problem freeing exception signal
102  BI_ERROR_CIR_SIGCANCEL_OVF, // Problem cancelling overflow signal
103  BI_ERROR_CIR_SIGFREE_OVF, // Problem freeing overflow siganl
104  BI_ERROR_CIR_PHYSQTAB_FREE, // Problem freeing qhysical qtabs
105  BI_ERROR_CIR_RELQTAB_FREE, // Problem freeing relative qtabs
106  BI_ERROR_CIR_AQ_CLEANUP, // CiAqCleanUp returned a failure
107 
108  // Qtab Host Worker Thread
109  BI_ERROR_HOST_CHAIN_ENGAGE, // Failure engaging the chain of qtabs
110  BI_ERROR_HOST_GRAB_CMD, // Error with the grab command
111  BI_ERROR_HOST_CLR_SIGQ, // Couldn't clear signal queue
112  BI_ERROR_HOST_SIGNAL_TIMEOUT, // Worker thread has timed out
113  BI_ERROR_HOST_SIGNAL_BAD, // Bad signal or wait failed
114  BI_ERROR_HOST_MISSED_FRAMES, // Missed to many frames
115  BI_ERROR_HOST_SHUTDOWN, // CiShutdown failed
116  BI_ERROR_SEQ_SIP_ENABLE, // Error enabling start/stop interrupt processing
117  BI_ERROR_SEQ_SIP_DISABLE, // Error Disabling start/stop interrupt processing
118  BI_ERROR_HOST_AQ_FREEZE, // Timed out waiting for acquisition to freeze.
119  BI_ERROR_HOST_TRIGSTAT, // Timed out waiting for trigger to go low, in order to resume from a pause
120  BI_ERROR_HOST_AQ_GRAB, // Timed out waiting for acquisition to start.
121  BI_ERROR_HOST_DMA_START, // Error starting the DMA engine
122  BI_ERROR_ACTIVE_TIMEOUT, // Timed out waiting for the active region of the image.
123  BI_ERROR_BUFFER_INDEX, // The buffer index was incremented beyond the buffer range.
124 
125  // BiTrigModeGet( )
126  BI_ERROR_BOARDPTR_TRIG_GET, // Bad board pointer
127 
128  // BiTrigModeSet( )
129  BI_ERROR_UNKNOWN_TRIG_SET, // Unknown parameter
130  BI_ERROR_BOARDPTR_TRIG_SET, // Bad board pointer
131  BI_ERROR_BAD_BOARD_PARA, // Bad parameter for this specific board
132 
133  // BiTrigForce( )
134  BI_ERROR_UNKNOWN_MODE, // Unknown Trig mode
135  BI_ERROR_BRD_TRIG_FORCE, // Bad board pointer
136 
137  // BiSeqWaitDone()
138  BI_ERROR_WAIT_TIMEOUT, // Timed out while waiting for sequence acquistion
139  BI_ERROR_WAIT_FAILED, // WaitForSingleObject failed
140 
141  // BiSeqWaitFrameDone
142  BI_ERROR_FRAME_TIMEOUT, // Timed out while waiting for a frame
143  BI_ERROR_FRAME_FAILED, // Function failed
144 
145  // BiSeqParameters()
146  BI_ERROR_START_INVALID, // Start frame is greater than number of buffers allocated
147  BI_ERROR_TOMANY_FRAMES, // Number of frames to collect is greater then buffers allocated
148  BI_ERROR_START_COMBO, // Start frame + number of frames is greater than buffers allocated
149  BI_ERROR_NUM_FRAMES, // Number of frames must be at least 2
150 
151  // BiSeqControl()
152  BI_ERROR_CNTL_UNKNOWN, // Unknown parameter being passed to function
153  BI_ERROR_START_TIMEOUT, // Timed out waiting for the start command
154  BI_ERROR_STOP_TIMEOUT, // Timed out waiting for the stop command
155  BI_ERROR_PAUSE_TIMEOUT, // Timed out waiting for the pause command
156  BI_ERROR_RESUME_TIMEOUT, // Timed out waiting for the resume command
157  BI_ERROR_ABORT_TIMEOUT, // Timed out waiting for the abort command
158  BI_ERROR_CICONAQCMD_FREEZE, // Error issuing an acquistion freeze with the CiConAqCommand function.
159  BI_ERROR_CICONAQSTATUS, // Error retrieving acquistion status with the CiConAqStatus function.
160  BI_ERROR_INVALIDAQSTATUS, // The acquistion status was invalid.
161  BI_ERROR_INVALID_CMD_SEQ, // An invalid sequence of commands to control acquisition was used.
162  BI_ERROR_CICONAQCMD_ABORT, // Error issuing an acquistion abort with the CiConAqCommand function.
163 
164  // BiSeqBufferStatus
165  BI_ERROR_BUF_STAT, // must call BiSeqAqSetup before BiSeqBufferStatus.
166 
167  // Internal Errors
168  BI_ERROR_STACK_FULL, // Error Stack full
169  BI_ERROR_OVERFLOW, // FIFO overflow occured
170  BI_ERROR_HWEXCEPTION, // Hardware exeption occured
171  BI_ERROR_MUL_OBJ_WAIT, // WaitMultipleObjects function failed
172  BI_ERROR_INTERNAL_ERROR, // Error occured in the thread
173  BI_ERROR_RESETAQ, // The Reset Acquisition function failed to reset
174 
175 
176  // BiSeqErrorWait()
177  BI_ERROR_ACQUISITION, // An acquisition error has happened
178 
179  // BiCirErrorWait()
180  BI_ERROR_CIR_ACQUISITION, // An circular acquisition error has happened
181 
182  // BiDiskBufWrite()
183  BI_ERROR_UNKNOWN_FILETYPE, // The file type to save as is unknown
184  BI_ERROR_FIRSTBUF_INVALID, // The first buffer is larger that the number of buffers.
185  BI_ERROR_NUMBUFS_ZERO, // The number of buffers must be at least 1.
186  BI_ERROR_TOO_MANY_BUFFERS, // Asking for more buffer to save then allocated.
187  BI_ERROR_OPEN_BMP_FILE, // File for BMP could not be created
188  BI_ERROR_BITMAP_HEADER, // Error writing BMP header to file
189  BI_ERROR_BMP_DATA_WRITE, // Error writing BMP data to file
190  BI_ERROR_OPEN_AVI_FILE, // Error opening AVI File
191  BI_ERROR_CREATE_STREAM, // Error creating stream
192  BI_ERROR_SAVE_OPTIONS, // Error with dialog box save options
193  BI_ERROR_COMPRESS_STREAM, // Error with compressing the stream
194  BI_ERROR_AVI_HEADER, // Error putting AVI header in the stream
195  BI_ERROR_WRITING_AVI_DATA, // Error writing the AVI stream
196  BI_ERROR_OPEN_RAW_FILE, // Error opening the RAW file
197  BI_ERROR_RAW_DATA_WRITE, // Error writing RAW data to file
198  BI_ERROR_OPEN_TIFF_FILE, // Error opening TIFF file
199  BI_ERROR_WRITING_TIFF_HEADER, // Error writing TIFF header
200  BI_ERROR_WRITING_TIFF_DATA, // Error writing TIFF data
201  BI_ERROR_SWAPRGB, // The SwapRGB option can only be used with color data
202  BI_ERROR_PACK24BIT, // Image data must be 32 bit in order to pack it into 24 bit
203  BI_ERROR_BUF_POINTER, // Invalid buffer pointer.
204  BI_ERROR_FILE_XSIZE, // Invalid XSize. The XSize must be greater than zero.
205  BI_ERROR_FILE_YSIZE, // Inavlid YSize. The YSize must be greater than zero.
206  BI_ERROR_WRITE_BITDEPTH, // Unknown bit depth. The bit depth must be 8, 10, 12, 14, 16, 24 or 32.
207  BI_ERROR_WRITE_BMP_BITDEPTH, // Invalid bit depth for bmp. BMP supports 8, 24 and 32 bit pixel depths.
208  BI_ERROR_WRITE_TIF_BITDEPTH, // Invalid tif bit depth. The bit depth must be 8, 10, 12, 14, 16, 24 or 32.
209  BI_ERROR_WRITE_AVI_BITDEPTH, // Invalid bit depth for avi. AVI supports 8, 24 and 32 bit pixel depths.
210  BI_ERROR_WRITE_LOW_MEM, // Failed allocating memory. Free resources and try again.
211  BI_ERROR_OPEN_TEXTFILE, // Failed opening text file to write raw image info.
212  BI_ERROR_RAW_TEXT_WRITE, // Failed writing raw image info to text file.
213  BI_ERROR_UNKNOWN_WRITE, // Unknown error returned from BiDiskBufWrite.
214  BI_ERROR_FILE_EXISTS, // Saving a file that already exists without the overwrite option.
215 
216  // BiDiskBufRead()
217  BI_ERROR_NUMBUFS, // Bad value of NumBufs, must be greater than zero
218  BI_ERROR_BUFFER_SIZE_SMALL, // Image size is larger that the buffer size being copied to
219  BI_ERROR_FILE_OPEN_READ, // Error opening file for reading
220  BI_ERROR_FILE_READ, // Error reading file
221  BI_ERROR_FILETYPE_READ_IO, // Unknown File type. File type must be raw,bmp,tif, or avi
222  BI_ERROR_MEM_TEMP_BUF_READ_IO, // Error allocating memory for temporary BMP buffer
223  BI_ERROR_INVALID_NAME, // The file name given is invalid, to few characters
224  BI_ERROR_PIXDEPTH_READ, // Pixel depth not supported
225  BI_ERROR_DISK_PARAM_READ, // Error returned by BiDiskParamRead function
226  BI_ERROR_NUMBER_OF_FRAMES, // Number of frames in AVI file exceeds number of buffer asked for
227  BI_ERROR_NO_DECOMPRESS, // Decompressing image to dimensions outside of maximum limit
228  BI_ERROR_READ_BUF_POINTER, // Invalid buffer pointer.
229  BI_ERROR_READ_XSIZE, // Invalid XSize. The XSize must be greater than zero.
230  BI_ERROR_READ_YSIZE, // Inavlid YSize. The YSize must be greater than zero.
231  BI_ERROR_RAW_READ, // Reading a raw image file is not supported.
232  BI_ERROR_UNKNOWN_READ, // Unknown error returned from BiDiskBufRead.
233 
234  // BiDiskParamRead()
235  BI_ERROR_FILETYPE_PARAM, // Unknown file type. File type must be raw,bmp,tif, or avi
236  BI_ERROR_MEM_TEMP_BUF_PARAM, // Error creating temporary buffer
237  BI_ERROR_FILE_OPEN_PARAM, // Error opening file
238  BI_ERROR_READFILE_PARAM, // Error reading in file data
239  BI_ERROR_RAW_READ_PARAMS, // Reading raw file parameters is not possible.
240  BI_ERROR_UNKNOWN_PARAM, // Unknown error returned from BiDiskParamRead.
241 
242  // BiCircAqSetup()
243  BI_ERROR_CIR_ENGINEK, // DMA engine K is currently not supported
244  BI_ERROR_CIR_FIRMWARE, // Please download host qtab firmware to use circular buffers
245  BI_ERROR_CIR_LUT_MASK, // Error in masking LUT
246  BI_ERROR_CIR_QTABARRAY_MEM, // Lack of Memory for Qtab Array Allocation
247  BI_ERROR_CIR_P_QTABARRAY_MEM, // Lack of Memory for array of host qtab pointers allocation
248  BI_ERROR_CIR_REL_QTAB, // Error Creating any/all Relative QTABs.
249  BI_ERROR_CIR_PHYS_QTAB, // Error Creating any/all Physical QTABs.
250  BI_ERROR_CIR_CHAIN_LINK, // Failure linking physical qtabs together
251  BI_ERROR_CIR_CREATE_THREAD, // Unable to create circular buffer worker thread
252  BI_ERROR_CIR_SIG_OVF, // Unable to create signal for overflow
253  BI_ERROR_CIR_SIG_EX, // Unable to create signal for exceptions
254  BI_ERROR_CIR_SIG_QUAD, // Unable to create signal for Quad done
255  BI_ERROR_CIR_SIG_STARTSTOP, // Unable to create signal for start/stop
256  BI_ERROR_CIR_SIG_ERRORTHREAD, // Unable to create internal error thread
257  BI_ERROR_CIR_BUF_STAT, // Lack of memory to create buffer status array
258  BI_ERROR_CIR_BUF_QUEUE, // Lack of memory to create circular buffer queue
259  BI_ERROR_CIR_ERROR_MODE, // An invalid error mode was used.
260  BI_ERROR_CIR_ROI_ERROR, // Error setting the ROI
261 
262  // Circular Worker Thread
263  BI_ERROR_CIR_SHUTDOWN, // CiShutdown failed
264  BI_ERROR_CIR_CHAIN_ENGAGE, // Failure engaging the chain of qtabs
265  BI_ERROR_CIR_GRAB_CMD, // Error with the grab command
266  BI_ERROR_CIR_CLR_SIGQ, // Couldn't clear signal queue
267  BI_ERROR_CIR_SIGNAL_TIMEOUT, // Worker thread has timed out
268  BI_ERROR_CIR_SIGNAL_BAD, // Bad signal or wait failed
269  BI_ERROR_CIR_MISSED_FRAMES, // Missed to many frames
270  BI_ERROR_AVAL_BUFFER, // There are no buffers available for data
271  BI_ERROR_STAT_CHECK, // An error occured when checking buffer availability
272  BI_ERROR_CIR_SIP_ENABLE, // Error enabling start/stop interrupt processing
273  BI_ERROR_CIR_SIP_DISABLE, // Error Disabling start/stop interrupt processing
274  BI_ERROR_CIR_AQ_FREEZE, // Timed out waiting for acquisition to freeze.
275  BI_ERROR_CIR_TRIGSTAT, // Timed out waiting for trigger to go low, in order to resume from a pause
276  BI_ERROR_CIR_AQ_GRAB, // Timed out waiting for acquisition to start.
277  BI_ERROR_CIR_DMA_START, // Error starting the DMA engine
278  BI_ERROR_OVERWRITE, // Buffers have been overwritten.
279  BI_ERROR_THREAD_MUTEX_TIMEOUT, // Timed out waiting for the buffer status mutex.
280  BI_ERROR_THREAD_MUTEX_ABANDONED,// The buffer status mutex was not released properly.
281  BI_ERROR_TOO_MANY_FRAMES, // The current hardware does not support sequences of this many frames
282 
283 
284  // BiCirControl()
285  BI_ERROR_CIR_CNTL_UNKNOWN, // Unknown parameter being passed to function
286  BI_ERROR_CIR_RESUME_P, // Can only resume after the acquisition has been running and paused
287  BI_ERROR_CIR_PAUSE, // Issued a pause after a stop or abort command
288  BI_ERROR_CIR_RESUME, // Issued a resume after a stop or abort command
289  BI_ERROR_CIR_PAUSE_START, // Issued a start after a pause command
290  BI_ERROR_CIR_START_TIMEOUT, // Timed out waiting for the start command
291  BI_ERROR_CIR_STOP_TIMEOUT, // Timed out waiting for the stop command
292  BI_ERROR_CIR_PAUSE_TIMEOUT, // Timed out waiting for the pause command
293  BI_ERROR_CIR_RESUME_TIMEOUT, // Timed out waiting for the resume command
294  BI_ERROR_CIR_ABORT_TIMEOUT, // Timed out waiting for the abort command
295  BI_ERROR_CIR_CICONAQCMD_FREEZE, // Error issuing an acquistion freeze with the CiConAqCommand function.
296  BI_ERROR_CIR_CICONAQSTATUS, // Error retrieving acquistion status with the CiConAqStatus function.
297  BI_ERROR_CIR_INVALIDAQSTATUS, // The acquistion status was invalid.
298  BI_ERROR_CIR_INVALID_CMD_SEQ, // An invalid sequence of commands to control acquisition was used.
299  BI_ERROR_CIR_CICONAQCMD_ABORT, // Error issuing an acquistion abort with the CiConAqCommand function.
300 
301 
302  // BiCirWaitDoneFrame()
303  BI_ERROR_CIR_WAIT_TIMEOUT, // Timed out while waiting for sequence acquistion
304  BI_ERROR_CIR_WAIT_FAILED, // WaitForSingleObject failed
305  BI_ERROR_QEMPTY, // Nothing is in the circular buffer queue
306  BI_ERROR_FRAME_MUTEX_TIMEOUT, // Timed out waiting for the buffer status mutex.
307  BI_ERROR_FRAME_MUTEX_ABANDONED, // The buffer status mutex was not released properly.
308 
309  // BiCirStatusSet()
310  BI_ERROR_MARK_STAT, // Tryed to change to a status other than AVAILABLE and HOLD
311  BI_ERROR_MARK_HOLD, // Was unable to mark the buffer to hold.
312  BI_ERROR_CHAIN_DISABLE, // Driver error holding buffer.
313  BI_ERROR_CHAIN_ENABLE, // Driver error making buffer available.
314  BI_ERROR_AVAIL_QUEUE_FULL, // Available queue was full.
315  BI_ERROR_ON_AVAIL_QUEUE, // Unable to change buffer status, because the buffer is on the available queue.
316  BI_ERROR_STATUS_STATE, // Unknown status state
317  BI_ERROR_BUFFER_RANGE, // Could not adjust the buffer range. Too many buffers are being held.
318  BI_ERROR_STATUS_MUTEX_TIMEOUT, // Timed out waiting for the buffer status mutex.
319  BI_ERROR_STATUS_MUTEX_ABANDONED,// The buffer status mutex was not released properly.
320  BI_ERROR_RAVEN_HOLD, // Holding buffers with the Raven is not supported.
321 
322  // BiCirBufferStatusSet()
323  BI_ERROR_CIR_BAD_BUFFER_NUM, // Invalid buffer number was passed into the function.
324 
325  // BiCirBufferStatusGet()
326  BI_ERROR_CIR_BUFFER_NUM, // Invalid buffer number was passed into the function.
327 
328 
329  // BiErrorTextGet()
330  BI_ERROR_BUFFER_TOO_SMALL, // The buffer was not large enough to hold the error message.
331  BI_ERROR_ERR_NOT_FOUND, // Could not find error number.
332  BI_ERROR_NULL_TEXT_PTR, // Invalid pointer to text buffer.
333 
334  // BiErrorShow
335  BI_ERROR_INVALID_ERR_NUM, // Unknown error number. Could not find error message for the error number passed into function.
336 
337  // BiInternalTimeoutSet
338  BI_ERROR_TIMEOUT_SET, // An error occured trying to set the internal timeout.
339 
340  // Errors used by the sequence and circular classes
341  BI_ERROR_SETUP_TWICE, // Setup has been called twice without a call to cleanup.
342  BI_ERROR_CALL_SETUP, // Setup must be called before using this method
343  BI_ERROR_ALREADY_SETUP, // This method must be called before setup is called.
344 
345  // BiCamOpen
346  BI_ERROR_CAM_OPEN, // Error opening the specified camera file.
347 
348  // BiCamClose
349  BI_ERROR_CAM_CLOSE, // Error closing the specified camera file.
350 
351  // BiCamSel
352  BI_ERROR_CAM_SEL, // Error selecting camera file.
353 
354  // BiCamGetCur
355  BI_ERROR_GET_CUR, // Error returning the current camera file.
356 
357  // BiCamSetCur
358  BI_ERROR_CAM_SET_CUR, // Error setting current camera file.
359 
360  // BiCamGetFileName
361  BI_ERROR_CAM_FILENAME, // Error returning the camera file name.
362 
363  // BiCallBackAdd
364  BI_CB_NULL_POINTER, // Call back pointer is null
365  BI_CB_ALREADY_SET, // Call back is already registered
366  BI_CB_BAD_SEMAPHORE, // Error creating semaphore needed for call back
367  BI_CB_THREAD_GOING, // Call back thread is not stopped
368  BI_CB_THREAD_FAIL, // Error creating call back thread
369 
370  // Ci method errors.
371  BI_CIERROR_CISYSBRDENUM, // An error occured in the CiSysBrdEnum function.
372  BI_CIERROR_CISYSBOARDFINDSWCONNECTOR, // An error occured in the CiSysBoardFindSWConnector function.
373  BI_CIERROR_CIBRDOPEN, // An error occured in the CiBrdOpen function.
374 
375  BI_CIERROR_CIAQFRAMESIZE, // An error occured in the CiAqFrameSize function.
376  BI_CIERROR_CIAQROISET, // An error occured in the CiAqROISet function.
377  BI_CIERROR_CICONEXTRIGCONNECT, // An error occured in the CiConExTrigConnect function.
378  BI_CIERROR_CICONEXPOSURECONTROLSET, // An error occured in the CiConExposureControlSet function.
379  BI_CIERROR_CICONEXPOSURECONTROLGET, // An error occured in the CiConExposureControlGet function.
380 
381  BI_CIERROR_CICAMMODESENUM, // An error occured in the CiCamModesEnum function.
382  BI_CIERROR_CICAMMODEGET, // An error occured in the CiCamModeGet function.
383  BI_CIERROR_CICAMMODESET, // An error occured in the CiCamModeSet function.
384 
385  // BF method errors.
386  BI_BFERROR_BFCXPREADREG, // An error occured in the BFCXPReadReg function.
387  BI_BFERROR_BFCXPWRITEREG, // An error occured in the BFCXPWriteReg function.
388  BI_BFERROR_BFCXPREADDATA, // An error occured in the BFCXPReadData function.
389  BI_BFERROR_BFCXPWRITEDATA, // An error occured in the BFCXPWriteData function.
390  BI_BFERROR_BFREGNAME, // An error occured in the BFRegName function.
391  BI_BFERROR_BFREGPOKE, // An error occured in the BFRegPoke function.
392 
393  // Keep this as the last error
395 
396 
397  // WARNINGS
398  BI_WARNINGS = 0x10000, // BufIn warning will be returns above 0x10000
399  BI_AQ_ABORTED, // BiSeqWaitDone returning acquisition was aborted
400  BI_AQ_STOPPED, // BiSeqWaitDone returning acquisition was stopped
401  BI_CLEANUP, // BiSeqWaitError return for clean up bumping semaphore
402  BI_CIR_STOPPED, // BiCirWaitNext - Circular acquisition was stopped.
403  BI_CIR_ABORTED, // BiCirWaitNext - Circular acquisition was aborted.
404  BI_CIR_CLEANUP, // BiAqCleanUp killed BiCirWaitError function
405  BI_CANCEL_FRAME_DONE, // BiSeqWaitFrameDone was bumped by BiAqCleanup
406  BI_FRAME_STOP, // BiSeqWaitFrameDone was bumped by stop
407  BI_FRAME_ABORT, // BiSeqWaitFrameDone was bumped by abort
408  BI_CANCEL_CIR_FRAME_DONE, // BiCirWaitDoneFrame returned because cleanup was called.
410 
411 }BIRC_Enum;
412 
Definition: BiError.h:196
Definition: BiError.h:51
Definition: BiError.h:271
Definition: BiError.h:218
Definition: BiError.h:231
_BIRC_Enum
Definition: BiError.h:17
Definition: BiError.h:343
Definition: BiError.h:36
Definition: BiError.h:117
Definition: BiError.h:171
Definition: BiError.h:247
Definition: BiError.h:266
Definition: BiError.h:73
Definition: BiError.h:376
Definition: BiError.h:229
Definition: BiError.h:222
Definition: BiError.h:276
Definition: BiError.h:383
Definition: BiError.h:217
Definition: BiError.h:105
Definition: BiError.h:238
Definition: BiError.h:390
Definition: BiError.h:335
Definition: BiError.h:46
Definition: BiError.h:123
Definition: BiError.h:405
Definition: BiError.h:286
Definition: BiError.h:264
Definition: BiError.h:379
Definition: BiError.h:186
Definition: BiError.h:22
Definition: BiError.h:104
Definition: BiError.h:67
Definition: BiError.h:317
Definition: BiError.h:159
Definition: BiError.h:85
Definition: BiError.h:232
Definition: BiError.h:330
Definition: BiError.h:323
Definition: BiError.h:177
Definition: BiError.h:25
Definition: BiError.h:201
enum _BIRC_Enum BIRC_Enum
Definition: BiError.h:263
Definition: BiError.h:116
Definition: BiError.h:97
Definition: BiError.h:259
Definition: BiError.h:275
Definition: BiError.h:407
Definition: BiError.h:102
Definition: BiError.h:28
Definition: BiError.h:119
Definition: BiError.h:149
Definition: BiError.h:371
Definition: BiError.h:44
Definition: BiError.h:98
Definition: BiError.h:205
Definition: BiError.h:235
Definition: BiError.h:258
Definition: BiError.h:364
Definition: BiError.h:208
Definition: BiError.h:312
Definition: BiError.h:80
Definition: BiError.h:120
Definition: BiError.h:106
Definition: BiError.h:230
Definition: BiError.h:160
Definition: BiError.h:307
Definition: BiError.h:239
Definition: BiError.h:406
Definition: BiError.h:268
Definition: BiError.h:89
Definition: BiError.h:138
Definition: BiError.h:170
Definition: BiError.h:375
Definition: BiError.h:189
Definition: BiError.h:32
Definition: BiError.h:172
Definition: BiError.h:211
Definition: BiError.h:378
Definition: BiError.h:100
Definition: BiError.h:103
Definition: BiError.h:338
Definition: BiError.h:291
Definition: BiError.h:220
Definition: BiError.h:121
Definition: BiError.h:298
Definition: BiError.h:43
Definition: BiError.h:305
Definition: BiError.h:213
Definition: BiError.h:45
Definition: BiError.h:157
Definition: BiError.h:311
Definition: BiError.h:130
Definition: BiError.h:260
Definition: BiError.h:78
Definition: BiError.h:210
Definition: BiError.h:373
Definition: BiError.h:366
Definition: BiError.h:37
Definition: BiError.h:184
Definition: BiError.h:110
Definition: BiError.h:70
Definition: BiError.h:249
Definition: BiError.h:193
Definition: BiError.h:202
Definition: BiError.h:221
Definition: BiError.h:112
Definition: BiError.h:408
Definition: BiError.h:96
Definition: BiError.h:101
Definition: BiError.h:240
Definition: BiError.h:265
Definition: BiError.h:76
Definition: BiError.h:274
Definition: BiError.h:158
Definition: BiError.h:399
Definition: BiError.h:352
Definition: BiError.h:207
Definition: BiError.h:303
Definition: BiError.h:279
Definition: BiError.h:273
Definition: BiError.h:402
Definition: BiError.h:306
Definition: BiError.h:332
Definition: BiError.h:23
Definition: BiError.h:113
Definition: BiError.h:253
Definition: BiError.h:295
Definition: BiError.h:257
Definition: BiError.h:74
Definition: BiError.h:252
Definition: BiError.h:75
Definition: BiError.h:294
Definition: BiError.h:200
Definition: BiError.h:161
Definition: BiError.h:91
Definition: BiError.h:254
Definition: BiError.h:195
Definition: BiError.h:358
Definition: BiError.h:180
Definition: BiError.h:391
Definition: BiError.h:225
Definition: BiError.h:310
Definition: BiError.h:50
Definition: BiError.h:62
Definition: BiError.h:40
Definition: BiError.h:90
Definition: BiError.h:147
Definition: BiError.h:35
Definition: BiError.h:173
Definition: BiError.h:292
Definition: BiError.h:191
Definition: BiError.h:281
Definition: BiError.h:297
Definition: BiError.h:278
Definition: BiError.h:134
Definition: BiError.h:63
Definition: BiError.h:188
Definition: BiError.h:277
Definition: BiError.h:248
Definition: BiError.h:212
Definition: BiError.h:394
Definition: BiError.h:109
Definition: BiError.h:118
Definition: BiError.h:315
Definition: BiError.h:236
Definition: BiError.h:368
Definition: BiError.h:401
Definition: BiError.h:47
Definition: BiError.h:223
Definition: BiError.h:156
Definition: BiError.h:64
Definition: BiError.h:66
Definition: BiError.h:187
Definition: BiError.h:246
Definition: BiError.h:165
Definition: BiError.h:341
Definition: BiError.h:349
Definition: BiError.h:289
Definition: BiError.h:139
Definition: BiError.h:361
Definition: BiError.h:386
Definition: BiError.h:142
Definition: BiError.h:65
Definition: BiError.h:226
Definition: BiError.h:111
Definition: BiError.h:192
Definition: BiError.h:129
Definition: BiError.h:198
Definition: BiError.h:143
Definition: BiError.h:79
Definition: BiError.h:154
Definition: BiError.h:71
Definition: BiError.h:83
Definition: BiError.h:355
Definition: BiError.h:52
Definition: BiError.h:267
Definition: BiError.h:280
Definition: BiError.h:326
Definition: BiError.h:59
Definition: BiError.h:86
Definition: BiError.h:194
Definition: BiError.h:209
Definition: BiError.h:56
Definition: BiError.h:237
Definition: BiError.h:403
Definition: BiError.h:38
Definition: BiError.h:293
Definition: BiError.h:290
Definition: BiError.h:245
Definition: BiError.h:69
Definition: BiError.h:389
Definition: BiError.h:203
Definition: BiError.h:285
Definition: BiError.h:19
Definition: BiError.h:382
Definition: BiError.h:99
Definition: BiError.h:331
Definition: BiError.h:256
Definition: BiError.h:318
Definition: BiError.h:313
Definition: BiError.h:155
Definition: BiError.h:115
Definition: BiError.h:206
Definition: BiError.h:88
Definition: BiError.h:304
Definition: BiError.h:185
Definition: BiError.h:122
Definition: BiError.h:24
Definition: BiError.h:365
Definition: BiError.h:314
Definition: BiError.h:72
Definition: BiError.h:228
Definition: BiError.h:39
Definition: BiError.h:377
Definition: BiError.h:342
Definition: BiError.h:87
Definition: BiError.h:146
Definition: BiError.h:204
Definition: BiError.h:169
Definition: BiError.h:148
Definition: BiError.h:287
Definition: BiError.h:400
Definition: BiError.h:272
Definition: BiError.h:388
Definition: BiError.h:152
Definition: BiError.h:372
Definition: BiError.h:84
Definition: BiError.h:190
Definition: BiError.h:244
Definition: BiError.h:251
Definition: BiError.h:367
Definition: BiError.h:29
Definition: BiError.h:224
Definition: BiError.h:404
Definition: BiError.h:199
Definition: BiError.h:92
Definition: BiError.h:126
Definition: BiError.h:183
Definition: BiError.h:346
Definition: BiError.h:296
Definition: BiError.h:319
Definition: BiError.h:114
Definition: BiError.h:77
Definition: BiError.h:162
Definition: BiError.h:320
Definition: BiError.h:153
Definition: BiError.h:197
Definition: BiError.h:381
Definition: BiError.h:243
Definition: BiError.h:135
Definition: BiError.h:409
Definition: BiError.h:68
Definition: BiError.h:299
Definition: BiError.h:93
Definition: BiError.h:387
Definition: BiError.h:168
Definition: BiError.h:55
Definition: BiError.h:398
Definition: BiError.h:269
Definition: BiError.h:131
Definition: BiError.h:219
Definition: BiError.h:227
Definition: BiError.h:270
Definition: BiError.h:288
Definition: BiError.h:250
Definition: BiError.h:255
Definition: BiError.h:316
Definition: BiError.h:214