EasyManua.ls Logo

Opt OPT-DPA1024E-4 - Setting the Trigger Pulse Width; Setting Multiple Trigger Pulse Width

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
33
• failed: OPT ERR READ INTENSITY FAILED or OPT ERR CHINDEX OUTRANGE (see the
error code in Tab. 1).
6. See also: setting intensity
2.13. Setting the trigger pulse width
1. Function: long OPTController SetTriggerWidth(OPTController Handle controllerHandle, int channelIn-
dex, int triggerWidth)
2. Description: set trigger pulse width for corresponding 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);
• triggerWidth – the value of the trigger pulse width to be set, range: [1 – 999].
4. Return value:
• succeed: OPT SUCCEED;
• failed: OPT ERR SET TRIGGERWIDTH FAILED, OPT ERR CHINDEX OUTRANGE, or
OPT ERR PARAM OUTRANGE (see the error code in Tab. 1).
5. See also: reading the trigger pulse width
2.14. Setting multiple trigger pulse width
1. Function: long OPTController SetTriggerWidth(OPTController Handle controllerHandle, TriggerWidthItem*
triggerWidthArray, int length)
2. Description: set trigger pulse width for specified the multiple channels
3. Input(s):
• controllerHandle – the handle of controller;
• triggerWidthArray – an array consists of values of the trigger pulse width (and the indexes of the
corresponding channels) to be set, range: [1 – 999];
• length – the length of the trigger width array.
4. Return value:

Table of Contents