4-10 Programmer’s Manual
Timeout
Description
Sets the scan Timeout in tenths of seconds, which is the amount of time
the scanner beam is on before turning off when the trigger is pressed.
Syntax
Timeout
Parameters
Timeout 5 – 99 tenths of a second
Default: 30
Return Values
None
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
GENERAL.Timeout = 30; (); // Timeout after 30 seconds
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>
Komentáře k této Příručce