Instruction manual

long BoardId[16];
long LastHex=-1;
int i;
long BoardCount;
EL_BOARD_IDENTIFIER IdList[16];
// get list of all installed boards
long ByCount=el_GetBoardIdentifiers(IdList,
sizeof(EL_BOARD_IDENTIFIER),
16,
&BoardCount);
// open all boards installed in the computer
for(i=0; i< BoardCount; i++)
{
BoardId[i] = el_OpenHWEx( IdList[i].HexSwitch, 0,"",IdList[i].SubId,0 );
if(LastHex == IdList[i].HexSwitch)
{
if(LastHex == IdList[i-1].HexSwitch)
{
printf(" %s is a virtual sub grabber",IdList[i-1].Name);
}
printf(" %s is a virtual sub grabber",IdList[i].Name);
}
LastHex = IdList[i].HexSwitch;
}
5.2.26. el_ResetOutputs
long
el_ResetOutputs ( long BoardId, long Value );
PARAMETERS:
BoardId : board ID returned by el_OpenHW
Value : Output value
DESCRIPTION: This function is used to reset available output lines on the hardware. Each bit of Value
refers to an output line. Therefore, all bits set in Value reset the correspondent output line.
RETURN VALUE:
0 if OK
-1 if ERROR. See el_GetErrorCode for details.
5.2.27. el_SelectCamera
long
el_SelectCamera ( long BoardId, char *CameraName );
PARAMETERS:
BoardId : board ID returned by el_OpenHW
CameraName : The camera name
Chapter 5. Programmers
Reference
73