OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:
Website:Http://www.optmv.net
30
• failed: OPT ERR TURNONCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error
code Tab. 1).
5.
See also: turning o
ff
channel(s)
2.7. Turning on multiple channels
1. Function: long OPTController TurnOnMultiChannel(OPTController Handle controllerHandle, int* chan-
nelIndexArray, int length)
2. Description: turn on 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 on, range: [1 – 16]
(in decimal form);
• length – the length of the channel index array.
4. Return value:
• succeed: OPT SUCCEED;
• failed: OPT ERR TURNONCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error
code in Tab. 1).
5.
See also: turning o
ff
multiple channels.
2.8. Turning o
ff
channel(s)
1. Function: long OPTController Turno
ff
Channel(OPTController Handle controllerHandle, int channelIn-
dex)
2. Description: turn o
ff
the specified channel(s)
3. Input(s):
• controllerHandle – the handle of controller;
• channelIndex – the index(es) of the channel(s) to be turned o
ff
, range: [0 – 16] (in decimal form, 0
for all channels).
4. Return value:
• succeed: OPT SUCCEED;