11 ocv tool and the remote command channel – Banner PresencePLUS P4 COLOR Series User Manual

Page 243

Advertising
background image

Note: When the tool times out, it may have decoded part of the string before the time ran out. This partial decoding
is reported back as the Decoded String. In OCV, whenever a timeout occurs, it is considered NO MATCH even
if the returned Decoded String matched Expected String.

7.5.11 OCV Tool and the Remote Command Channel

Commands

Description

Syntax

Sets the expected string, if it is a constant. The
Value should be a quoted string containing

set ocvtool tool_name|tool_number exp_string value

printable ASCII characters (see

Character Strings

on page 327).

Gets the value of the exptected string.

get ocvtool tool_name|tool_number exp_string

Examples

Assuming that you have two OCV tools, my_ocv_tool_1 and my_ocv_tool_2, each with
their first operand configured as a constant. To set the constant of the second ocvtool to
foobar, issue the following command:

set ocvtool my_ocv_tool_2 "foobar"

Set Command Example

or

243

Minneapolis, MN USA

Banner Engineering Corp.

PresencePLUS Software Tools

2/2010

Advertising
This manual is related to the following products: