User`s manual

58 Part I: PC2-CamLink Board PC2-CamLink User's Manual
End of PCI Transfer
The End of PCI Transfer interrupt is generated when each frame or virtual frame has been transferred
to host memory.
In Sapera, CORXFER_PRM_EVENT_TYPE provides the various transfer events.
The following are available on PC2-CamLink:
-CORXFER_VAL_EVENT_TYPE_END_OF_FRAME
-CORXFER_VAL_EVENT_TYPE_START_OF_FRAME
-CORXFER_VAL_EVENT_TYPE_END_OF_LINE
-CORXFER_VAL_EVENT_TYPE_END_OF_NLINES
-CORXFER_VAL_EVENT_TYPE_END_OF_TRANSFER
IFC
Under IFC, the end of transfer is represented by CL2_INTR_BMDONE .
Note: In IFC, most applications use the CICamera class GrabWaitFrameEx() member
function in order to wait for the end of transfer to host memory.
Timing Diagrams
The following diagram illustrates the exact location in time for each of the interrupts previously
described.
Note: 1 Start of line interrupt is not illustrated, but occurs on each rising edge of LVAL.
Note: 2 End of N lines interrupt illustrated for N = 5 lines.
TRIG
FVAL
LVAL
state of trigger
state of frame
end of N lines (N = 5)
end of N lines (N = 5)
end of frame + Bus Master Done
Window
Generator
Interrupt
1234512345123
Figure 16: Acquisition Interrupts
Note: The Bus Master Done interrupt location is dependant upon PCI bus traffic as well as the size of
the Window Generator. It, therefore, may occur after the FVAL of the next frame.