Instruction manual
0, EL_PACKER_Y, EL_INTERLACE, &NewBuffIds[1]);
if (ppVideoMemory_1 < 0 )
{
ReportError( "el_CreateMemBuffer" );
return;
}
ppVideoMemory_2 = el_CreateMemBuffer(nBoardID, 0, nSizeX, nSizeY,(long *) &nSequenceLength,
0, EL_PACKER_Y, EL_INTERLACE, &NewBuffIds[2]);
if (ppVideoMemory_1 < 0 )
{
ReportError( "el_CreateMemBuffer" );
return;
}
ppVideoMemory_3 = el_CreateMemBuffer(nBoardID, 0, nSizeX, nSizeY, (long *) &nSequenceLength,
0, EL_PACKER_Y, EL_INTERLACE, &NewBuffIds[3]);
if (ppVideoMemory_1 < 0 )
{
ReportError( "el_CreateMemBuffer" );
return;
}
el_AssignBuffer(nBoardID,0, NewBuffIds[0], 1.0, 1.0, 0, 0);
nRc = el_SetInputMux(m_nBoardID, EL_INPUT_R_A, EL_ADCBW0, 0);
nRc = SnapAndWait();
el_AssignBuffer(nBoardID,0, NewBuffIds[1], 1.0, 1.0, 0, 0);
nRc = el_SetInputMux(m_nBoardID, EL_INPUT_G_A, EL_ADCBW0, 0);
nRc = SnapAndWait();
el_AssignBuffer(nBoardID,0, NewBuffIds[2], 1.0, 1.0, 0, 0);
nRc = el_SetInputMux(m_nBoardID, EL_INPUT_R_A, EL_ADCBW0, 0);
nRc = SnapAndWait();
el_AssignBuffer(nBoardID,0, NewBuffIds[3], 1.0, 1.0, 0, 0);
nRc = el_SetInputMux(m_nBoardID, EL_INPUT_G_A, EL_ADCBW0, 0);
nRc = SnapAndWait();
5.2.5. el_CloseHW
long
el_CloseHW ( long BoardId, long Mode );
Switches hardware back to idle state: Acquisition and DMA stopped. Releases allocated memory. Context
becomes invalid. Parameter 'Mode' not implemented.
PARAMETERS:
BoardId : board ID returned by el_OpenHW
long Mode : not implemented
RETURN VALUE:
0 if OK
-1 if ERROR See el_GetErrorCode for details.
SEE ALSO: el_InitHW
58