pciGrabber-4x4
96
PHYTEC Messtechnik GmbH 2008 L-720e_0
Initialization of the Grabber and driver after activation
void Initialize(WORD nDevNo);
This routine initializes the Grabber and the driver software after
turning on the system. This routine
must
be called before the first
access to a decoder. That is for the variant VD-012 and VD-012-X1
the function must be called four times. For the VD-012-X2 two times.
This initialization must be carried out for each separate Grabber to be
used. This means, that
Initialize
has to be called for all permissible
values of
nDevNo
.
Reading Information on the Installed Grabber
short Read_GrabberInfo(WORD nDevNo, WORD wInfoType)
wInfoType: specifies which Grabber feature will be called
return value: Value of the specified feature
This functions delivers information on the hardware, in order to
ensure optimal adaptation of the applications to the Grabber.
This function can also be used to define the number of input channels
that the Grabber will support and the channel selection dialog can
conduct a field test.
The properties are returned with numerical values (from type WORD).
The key number is described in the entries of the Header file. The
header file is located after the installation of the demo program in the
subdirectory “include” of the chosen directory of the demo program.
The header is called Grab4DLL.H.
wInfoType
can be used to select which information will be called. A
description of the parameters is also included in the Header file. If a
parameter is not defined, then the function returns a value of 1. An
error status has a value of 6 = „NOT_SUPPORTED“.