Instruction manual

documentation of the camera file. if no setup file is used, el_InitSyncGenerator has to be called to
chose the correct synchronization signals and with el_EnableSyncGenerator the generator has to
be switched on.
ppVidPtr = el_InitHW(.......,&nBufNo);
:
el_SetVideoInPort(nBoardId, EL_CAMPARALLEL);
ppVidPtr2=el_NewMemBuffer(BoardId, 0, 0, 0, 1, 0, &nBufNo2) ;
ppVidPtr = el_AssignBuffer(nBoardId,1,nBufNo,1.0, 1.0,0,0);
first buffer is created with el_InitHW
connect video data stream of input channel 1 to DMA channel 1
Get a second buffer. el_CreateMemBuffer could have also be used, but then packing mode
and memory format must be set explicitly and the buffer is not connected to a channel. In this
case the modes are inherited form the first buffer. The first buffer is disconnected and the
second buffer is connected to channel 0
The unconnected first buffer is now assigned to channel 1
B.1.7.
How do I get camera names for el_SelectCamera?
It is extremly important to write the camera names used in el_SelectCamera exactly like they are
displayed in the configuration program. If you integrate the sourcecode below in a console
application and provide the BoardId obtained by el_OpenHW to it you can get the camera names
easily.
EL_CAMFEATURES Feature;
el_GetSupportedCamFeaturesEx(BoardId, GETFIRSTCAMFEATURE, &Feature,
sizeof(EL_CAMFEATURES));
printf("%s\n",Feature.info);
while(el_GetSupportedCamFeaturesEx(BoardId, GETNEXTCAMFEATURE, &Feature,
sizeof(EL_CAMFEATURES)) >0)
{
printf("\"%s\"\n",Feature.info);
}
You get an output like:
"Generic CCIR625"
"Generic EIA"
"JAI CV-M50"
"Jai CV-M50 edge sel. cam. trg."
"JAI CV-M50 edge sel. grab trg."
"Jai CV-M50 long exp."
"Jai M70 camera trig."
"Jai M70 fullframe"
"Jai M70 grabber trig."
"Jai M70 interlaced"
"Jai M70 long exp."
"CV-M77"
"CV-M77 camera trg."
Appendix B. FAQs
96