How to find every MATRIX VISION frame grabber installed in the current system?

mvCAM3, mvCAM4, mvDELTA, mvGAMMA-G, mvSIGMA-SLC, mvSIGMA-SLG, mvSIGMA-SQ, mvTITAN-C16, mvTITAN-C8, mvTITAN-CL, mvTITAN-DIG, mvTITAN-G1, mvTITAN-RGB/G4, pcIMAGE-SC, pcIMAGE-SDIG, pcIMAGE-SG/SGVS, pcIMAGE-SRGB

In each driver DLL since CD version CD2000C there is a function called mvGetBoardInfo exported.
It gives information about an installed frame grabber. The function searches for frame grabbers
which matches to the used driver DLL. Is the function called in the MVTITAN.DLL all frame grabbers
concerning to the mvTITAN line are found. So an mvTITAN-C8/C16
as well as mvTITAN-G1, mvTITAN-RGB, mvTITAN-DIG, mvTITAN-CL and mvGAMMA-G are found.

Definition in DLL: _MVAPI (int) mvGetBoardInfo (int boardno, INFO_T* pinfo)

boardno: number of frame grabbers starting with 0
pinfo: pointer to INFO_T Structure in which the frame grabber"s infos are stored

Result:
>0: Frame Grabber found, information stored. HighByte means number of bridge and LowByte
means number of slot the frame grabber is plugged in. The format is equal to the one used with function SetMemBase.
= 0: Frame grabber type not found
-1,-2, ..., -99: Frame grabber type found but given number is greater than actual number of installed frame grabbers
-100: OSmodul couldn"t be initialized

The complete INFO_T structure is shown in mv.h.
Interesting elements:
CHAR SerialNumber[20]: Serial number of frame grabber
CHAR Revision[6]; Revision of frame grabber
CHAR BoardType[20]; Type of frame grabber

If this function is built in a loop you can find all currently installed frame grabbers
of one kind and its numbers used with the function SelBoard.

Sample: Search for installed boards of a certain family: 
Call: GetBoardInfo (0, 0) -> result > 0, Frame grabber 1
Call: GetBoardInfo (1, 0) -> result > 0, Frame grabber 2
Call: GetBoardInfo (2, 0) -> result = -2, Frame grabber 3 doesn"t exist, just 2 grabbers of that family (e.g. mvTITAN) are installed.

Attached is a sourcecode example showing one way how to find every MATRIX VISION frame grabber under Windows:

Back