Avery Dennison Platinum 6039 JavaScript User Manual

Page 42

Advertising
background image

4-4 Programmer’s Manual

BiDirRedundancy

Description

Enables Bi-Directional Redundancy, which specifies that good scans must
occur in both directions (forward and reverse) for the scan to be
complete.

Syntax

BiDirRedundancy

Parameters

BiDirRedundancy true

Scans must occur in both directions

false

Default

Return Values

None

Example

<SCRIPT src="./jsUltra.js"></SCRIPT>

<SCRIPT type="text/javascript">

GENERAL.BiDirRedundancy = false;

//Scans do not have to occur in both directions

SCANNER.CommitConfigChanges();

//Save Changes to the Scanner Configuration

</SCRIPT>

<OBJECT id=”GENERAL” style="LEFT: 0px; WIDTH: 0px; TOP: 0px;

HEIGHT: 0px"

classid=clsid:B1EED6A7-2259-442D-B273-71EBE93C8338>

</OBJECT>

//Instantiate

Class

<BODY>

<OBJECT id=”SCANNER” style="LEFT: 0px; WIDTH: 0px; TOP: 0px;

HEIGHT: 0px"

classid=clsid:

AD3C761C-4BCC-403D-A68D-128ED702A417>

</OBJECT>

//Instantiate

Class

</BODY>

Advertising