Instruction manual

0 if OK
-1 if ERROR. See el_GetErrorCode for details.
CAVEATS: 'BufferNo' specifies the buffer or sequence to be released. If user allocated memory has been
used set MemStart to the array used for the allocation of the memory.
5.2.8. el_GetBoardIdentifiers
long
el_GetBoardIdentifiers ( EL_BOARD_IDENTIFIER *pArray, long StructSize, long
ArrayLength, long *pNumOfBoards );
Fills the EL_BOARD_IDENTIFIER with informations about the installed grabber boards. At the moment a
name the hex switch setting and a sub id is returned. For sub IDs > 0 el_OpenHWEx has to be used to
open the virtual grabber .
PARAMETERS:
pArray : user array of EL_BOARD_IDENTIFIER stuctures
StructSize : size of a single array element
ArrayLength : number of array elements
*pNumOfBoards : long pointer to return number of grabbers
RETURN VALUE:
number of bytes copied in each array element if OK
-1 if ERROR. See el_GetErrorCode for details.
CAVEATS: If the number of bytes is less than the actual structure size of EL_BOARD_IDENTIFIER an
older Dll has been used, in which the structure had less elements. In this case the unknown structure
elements remain uninitialised.
SEE ALSO: EL_BOARD_IDENTIFIER
long BoardCount;
EL_BOARD_IDENTIFIER IdList[16];
long ByCount=el_GetBoardIdentifiers(IdList,
sizeof(EL_BOARD_IDENTIFIER),
16,
&BoardCount);
if(ByCount > 0)
printf("%ld boards found",BoardCount);
if( sizeof(EL_BOARD_IDENTIFIER) > ByCount)
printf("old Dll, only first %ld bytes of structure were set up",ByCount);
5.2.9. el_GetCycleTime
long
el_GetCycleTime ( long BoardId, long ValSelect, long Reserved2 );
BoardId : board ID returned by el_OpenHW
Chapter 5. Programmers
Reference
60