Error Support Interrupts - Dalsa PC2-CamLink User Manual

Table of Contents

Advertisement

Error Support Interrupts

PC2-CamLink supports a number of interrupts generated when problematic conditions occur within
the system. These interrupts are used to notify applications that something erroneous occurred. Error
Support Interrupts are part of the "trigger-to-image reliability" support.
Skipped Frame
A Skipped Frame condition is signaled when the onboard FIFO is full resulting in the remainder of the
current acquired frame to be discarded. The buffer is marked full (since it might contain some of the
first pixels of the frame) and must be released by the application.
The TRIG LED blinks red to indicate an error condition when Skipped Frame occurs.
A typical cause of this problem is an insufficient PCI bandwidth. Maximal theoretical bandwidth of
the PCI bus is 132MB/second. If numerous bus master PCI devices are active simultaneously, a
possible shortage of bandwidth may affect the PC2-CamLink's PCI controller.
Another possible cause could be a high-bandwidth camera. PC2-CamLink supports pixel clocks up to
66 MHz, with up to two channels and up to 12-bits per channel. The resulting bandwidth might easily
exceed the PCI maximum of 132MB/second. The Window Generator can be used as well as truncating
pixels to 8-bits to reduce the bandwidth.
Error on Pixel Clock
The Error on Pixel Clock condition is signaled when a pixel clock is not detected by PC2-CamLink. A
typical cause of this problem is when no camera has been connected to the MDR-26 Camera Link™
connector (J1).
The ACQ LED is solid red when this condition occurs.
IFC
PC2-CamLink User's Manual
Sapera provides the following events and status to handle error conditions on PC2-
CamLink:
-CORACQ_VAL_EVENT_TYPE_NO_PIXEL_CLK
-CORACQ_VAL_EVENT_TYPE_FRAME_LOST
-CORACQ_VAL_EVENT_TYPE_DATA_OVERFLOW
-CORBUFFER_VAL_STATE_OVERFLOW
To retrieve the buffer overflow indication, the application must call CorBufferGetPrm()
for the CORBUFFER_PRM_STATE parameter.
IFC provides the following interrupts to handle error conditions on PC2-
CamLink:
-CL2_INTR_FRAME_SKIPPED
-CL2_INTR_ERROR_PIXEL_CLOCK
Part I: PC2-CamLink Board • 59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents