EasyManua.ls Logo

Opt OPT-DPA1024E-4 - Setting Multiple Intensity; Reading Intensity

Opt OPT-DPA1024E-4
40 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
32
failed: OPT ERR SET INTENSITY FAILED, OPT ERR CHINDEX OUTRANGE, or
OPT ERR PARAM OUTRANGE (see the error code in Tab. 1).
5. See also: reading intensity
2.11. Setting multiple intensity
1. Function: long OPTController SetMultiIntensity (OPTController Handle controllerHandle, IntensityItem*
intensityArray, int length)
2. Description: set intensities for the specified multiple channels
3. Input(s):
controllerHandle the handle of controller;
intensityArray an array consists of the intensities (and the indexes of the corresponding channels)
to be set, range: [0 255] (in decimal form);
length the length of the intensity array.
4. Return value:
succeed: OPT SUCCEED;
failed: OPT ERR SET INTENSITY FAILED or OPT ERR PARAM OUTRANGE (see the error
code Tab. 1).
5. See also: reading intensity.
2.12. Reading intensity
1. Function: long OPTController ReadIntensity(OPTController Handle controllerHandle, int channelIn-
dex, int *intensity)
2. Description: read intensity of the specified channel
3. Input(s):
controllerHandle the handle of controller;
channelIndex the index of the channel, range: [1 16] (in decimal form).
4. Output(s): intensity the obtained intensity value
5. Return value:
succeed: OPT SUCCEED;

Table of Contents