Avery Dennison Platinum 6039 JavaScript User Manual

Page 41

Advertising
background image

Scanning Functions 4-3

G e n e r a l C l a s s

AimDuration

Description

Sets the AIM Duration, which is the duration of the aiming beam when the
scanner is activated.

Syntax

AimDuration

Parameters

AimDuration

00 - 99 tenths of a second

0 disables. Default

Return Values

None

Example

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

<SCRIPT type="text/javascript">

GENERAL.AimDuration = 0;

//Set Aim duration to 0

SCANNER.CommitConfigChanges();

//Save Changes to the Scanner Configuration

</SCRIPT>

<BODY>

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

0px"

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

</OBJECT>

//Instantiate

Class

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

0px"

classid=clsid:

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

</OBJECT>

//Instantiate

Class

</BODY>

Advertising