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
31
• failed: OPT ERR TURNOFFCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error
code in Tab. 1).
5.
See also: turning on channel(s).
2.9. Turning o
ff
multiple channels
1. Function: long OPTController TurnO
ff
MultiChannel(OPTController Handle controllerHandle, int* chan-
nelIndexArray, int length)
2. Description: turn o
ff
the specified multiple channels
3. Input(s):
• controllerHandle – the handle of controller;
• channelIndexArray – an array consists of the indexes of the channels to be turned o
ff
, range: [1 –
16] (in decimal form);
• length – the length of the channel index array.
4. Return value:
• succeed: OPT SUCCEED;
• failed: OPT ERR TURNOFFCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error
code in Tab. 1).
5. See also: turning on multiple channels
2.10. Setting intensity
1. Function: long OPTController SetIntensity(OPTController Handle controllerHandle, int channelIndex,
int intensity)
2. Description: set intensity for the specified channel(s)
3. Input(s):
• controllerHandle – the handle of controller;
• channelIndex – the index(es) of the channel(s), range: [0 – 16] (in decimal form, 0 for all channels);
• intensity –the intensity value, range: [0 – 255] (in decimal form).
4. Return value:
• succeed: OPT SUCCEED;