Vresult real-valued function – Adept AdeptSight Reference Guide User Manual
Page 37
![background image](https://www.manualsdir.com/files/771277/content/doc037.png)
VRESULT real-valued function
Syntax
MicroV+
value = VRESULT
(sequence_id, tool_id, instance_id, result_id, index_id, frame_id)
V+
value = VRESULT
(
$ip
, sequence_id, tool_id, instance_id, result_id, index_id,
frame_id)
Description
Returns a specified result of a vision tool, or returns the status of a specified tool.
Parameters
$ip
IP address of the vision server. Applies to V+ syntax only. Uses standard IP
address format, for example: 192.168.1.120.
sequence_id
Index of the vision sequence. The first sequence is 1.
tool_id
Index of the tool in the vision sequence. The first tool is 1.
instance_id
Index of the instance in the specified result frame. If no result frame is specified,
it is the index for all instances returned by the tool.
result_id
Identifier (ID) of the result. Refer to the AdeptSight Properties Quick Reference
tables to find the ID for the required result.
index_id
Reserved for internal use. Value is always 1.
frame_id
Index of the frame for which you want to retrieve the result contained in the
specified instance.
Details
The following parameters are optional: sequence_id, tool_id, instance, index_id, and frame_id. These
parameters are 1-based. If no value is provided for these parameters, they default to 1.
For V+ systems, the vision server is the PC on which the AdeptSight vision software is running.
When a VRESULT is issued for a specific tool, it checks to see if that tool supports the VRESULT code. If
the specified tool does not support the code, VRESULT moves to the parent tool to see if it supports the
VRESULT real-valued function
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 37