Cnv_Trigger Statement
Latches current conveyor position for the next Cnv_QueAdd statement.
Syntax
Cnv_Trigger (conveyorNumber)
Parameters
- conveyorNumber
- Specify the conveyor number as an integer (1-16).
Description
CnvTrigger is used if there is no hardware trigger wired to the pulse generator board for the conveyor encoder. Cnv_Trigger is a software trigger.
Note that the processing time of the VRun command may vary. Use the Cnv_Trigger command after executing the VRun command.
Note
This command will only work if the Conveyor Tracking option is active.
See Also
Cnv_QueAdd
Cnv_Trigger Statement Example
Boolean found
Integer i, numFound
Real x, y, u
VRun FindParts
Cnv_Trigger 1
VGet FindParts.Part.NumberFound, numFound
For i = 1 To numFound
VGet FindParts.Part.CameraXYU(i), found, x, y, u
Cnv_QueAdd 1, Cnv_Point(1, x, y)
Next i