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
• failed: OPT ERR TURNONCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error
code Tab. 1).
5. See also: turning off 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 off multiple channels.
2.8. Turning off channel(s)
1. Function: long OPTController TurnoffChannel(OPTController Handle controllerHandle, int channelIn-
dex)
2. Description: turn off the specified channel(s)
3. Input(s):
• controllerHandle – the handle of controller;
• channelIndex – the index(es) of the channel(s) to be turned off, range: [0 – 16] (in decimal form, 0
for all channels).
4. Return value:
• succeed: OPT SUCCEED;