Vparameter real-valued function – Adept AdeptSight Reference Guide User Manual
Page 35

VPARAMETER real-valued function
Syntax
MicroV+
value =
VPARAMETER
(sequence_id, tool_id, parameter_id, index_id, object_id)
V+
value =
VPARAMETER
(
$ip
, sequence_id, tool_id, parameter_id, index_id, object_id)
Description
Gets the current value of a vision tool parameter.
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.
parameter_id
Identifier (ID) of the parameter. Refer to the AdeptSight Properties Quick
Reference tables to find the ID for the required parameter.
index_id
Reserved for internal use. Value is always 1.
object_id
Some parameters require an object index to access specific values in an array.
Please refer to the details for the individual parameter to understand the
meaning and possible usage.
Details
The following parameters are optional: sequence_id, tool_id, parameter_id, index_id, and object_id.
These parameters are 1-based. If no value is provided for these parameters, they default to 1.
To retrieve specific values
To retrieve global values:
sequence_id = -1, tool_id = -1
To retrieve camera values:
sequence_id = -1, tool_id = cameraIndex
To retrieve sequence values:
sequence_id = sequenceIndex, tool_id = -1
To retrieve Belt-Calibration-related values ( read only )
VPARAMETER real-valued function
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 35