beautypg.com

Vstate – Adept DeskTop 4.3 User Manual

Page 163

background image

Adept DeskTop 4.3 - Online Help 163

VSTATE

real-valued function

Syntax

MicroV+

VSTATE

(sequence)

V+

VSTATE

(

$ip

, sequence)

Description

Returns the state of the execution of a sequence.

Parameters

Details

In V+ the vision server is the PC on which the AdeptSight vision software is running.

Return

Return values are different for V+ and MicroV+:

Example

; Get the state of the first sequence

VSTATE(1)

$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. Optional. 1-based; if unspecified defaults to '1'.

MicroV+

Value

Description

0

Running

1

This value is currently unused.

2

Completed

3

Error

V+

Value

Description

0

Idle

1

Running

2

Paused

3

Done

4

Error

5

Starting