beautypg.com

Vparameter – Adept DeskTop 4.3 User Manual

Page 159

background image

Adept DeskTop 4.3 - Online Help 159

VPARAMETER

program instruction

Syntax

MicroV+

VPARAMETER

(sequence, tool, parameter, index, object) = value

V+

VPARAMETER

(sequence, tool, parameter, index, object)

$ip

= value

Description

Sets the current value of a vision tool parameter.

Parameters

Details

Parameters sequence, tool, parameter, index, and object 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

; Set a Locator to find

; a maximum of 4 object instances

; MaximumInstanceCount = 519

VPARAMETER(1,2,519) = 4

sequence

Index of the vision sequence. First sequence is '1'

tool

Index of the tool in the sequence.

parameter

Identifier (ID) of the parameter. Refer to the

AdeptSight Quick Reference

tables to find the ID for the required parameter.

index

Some parameters require an index. For example, the index of a model, of an
edge pair, or of a blob.

object

Some parameters require an object index to access specific values in an array.

$ip

IP address of the vision server.

Standard IP address format. For example 255.255.255.255.

This parameter applies to V+ syntax only.