76 / 109
Issued: 11.10.2013 Version: KST VisionTech 2.1 V1
Explanation of
the syntax
Example
11.17
Subprogram DO_GETVTRESULTS
Description
The subprogram DO_GETVTRESULTS is used for the detection of multiple
components.
DO_GETVTRESULTS generates a result structure for all object instances
found. This is written to the transfer parameter RESULTS. Once the subpro-
gram has been executed, the parameter PARTCOUNTER contains the num-
ber of components that have been found by the image processing system. The
flags are then set to TRUE and FALSE. The subprogram is executed in the ad-
vance run.
DO_GETVTRESULT can also be used as an interrupt program. This is called
after the image processing task has been executed. In this case, the subpro-
gram is executed in the main run.
Syntax
Syntax: DO_GETVTRESULTS("
Configuration file
", RESULTS[], PART-
COUNTER, "
Flag True
", "
Flag False
")
Explanation of
the syntax
Example
Element
Description
Configuration file
Name of the configuration file
Type: CHAR (IN)
RESULT
Result of image processing
Type: VTRESULT (OUT)
Flag True
Number of the flag to be set to TRUE once the result
has been read
Type: INT (IN)
Flag False
Number of the flag to be set to FALSE once the result
has been read
Type: INT (IN)
DECL VTRESULT RESULT
DO_GETVTRESULT("VisionTechConfig", RESULT, 1, 998)
Element
Description
Configuration file
Name of the configuration file
Type: CHAR (IN)
RESULTS
Results of image processing
Type: VTRESULT (OUT)
PART-
COUNTER
Contains the number of object instances found after
execution of the subprogram
Type: INT (OUT)
Flag True
Number of the flag to be set to TRUE once the result
has been read
Type: INT (IN)
Flag False
Number of the flag to be set to FALSE once the result
has been read
Type: INT (IN)
DECL VTRESULT[100] RESULTS
DECL INT PARTCOUNTER = 0
DO_GETVTRESULTS("VisionTechConfig", RESULTS, PARTCOUNTER, 1, 998)
Summary of Contents for VisionTech 2.1
Page 6: ...6 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 10: ...10 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 18: ...18 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 26: ...26 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 28: ...28 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 32: ...32 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 36: ...36 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 50: ...50 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 78: ...78 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 82: ...82 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 90: ...90 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 92: ...92 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 94: ...94 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 96: ...96 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 98: ...98 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 106: ...106 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 109: ...109 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...