Vresult – Adept DeskTop 4.3 User Manual
Page 161

Adept DeskTop 4.3 - Online Help 161
VRESULT
real-valued function
Syntax
MicroV+
VRESULT
(sequence, tool, instance, result, index, frame)
V+
VRESULT
(
$ip
, sequence, tool, instance, result, index, frame)
Description
Returns a result of the execution of a vision sequence.
Parameters
Details
Parameters sequence, tool, instance, index, and frame are optional. These parameters are 1-based. If
no value is provided for these parameters, they default to 1.
In V+ the vision server is the PC on which the AdeptSight vision software is running.
Example
; Get the number of instances found a Locator
; instance count = 1310
instance_count = VRESULT(1, 2, 1, 1310)
$ip
IP address of the vision server.
Standard IP address format. For example 255.255.255.255.
This parameter applies to V+ syntax only.
sequence
Index of the vision sequence.
tool
Index of the tool in the sequence.
instance
Index of the instance for which you want the transform.
result
Identifier (ID) of the result. Refer to the
AdeptSight Quick Reference tables
to find the ID for the required result.
index
Reserved for internal use. Value is always '1'.
frame
Index of the frame that contains the specified instance.