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 SET HBTRIGGERWIDTH FAILED, OPT ERR CHINDEX OUTRANGE, or
OPT ERR PARAM OUTRANGE (see the error code in Tab. 1).
5. See also: reading the high brightness trigger pulse width.
2.17. Setting multiple high brightness trigger pulse width
1. Function: long OPTController SetMultiHBTriggerWidth(OPTController Handle controllerHandle, HB-
TriggerWidthItem* triggerWidthArray, int length)
2. Description: set high brightness trigger pulse width for the specified multiple channels
3. Input(s):
• controllerHandle – the handle of controller;
• triggerWidthArray – an array consists of values of the high brightness trigger pulse width (and the
indexes of the corresponding channels) to be set, range: [1 – 500];
• length – the length of the high brightness trigger width array.
4. Return value:
• succeed: OPT SUCCEED;
• failed: OPT ERR SET HBTRIGGERWIDTH FAILED, OPT ERR CHINDEX OUTRANGE, or
OPT ERR PARAM OUTRANGE (see the error code in Tab. 1).
5. See also: reading the high brightness trigger pulse width
2.18. Reading the high brightness trigger pulse width
1. Function: long OPTController ReadHBTriggerWidth(OPTController Handle controllerHandle, int chan-
nelIndex, int* HBTriggerWidth)
2. Description: read the high brightness trigger pulse width 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): HBTriggerWidth – the obtained high brightness trigger pulse width;
5. Return value
• succeed: OPT SUCCEED;