Scanning Functions 4-9
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
public int Timeout
Parameters
Timeout 5 – 99 tenths of a second
Default: 30
Return Values
None
Example C#
using Ultra;
Ultra.Scan.General GENERAL = new Ultra.Scan.General();
// Instantiate class
GENERAL.Timeout = 30; (); // Timeout after 30 seconds
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
// Instantiate class
CONTROL.CommitChanges();
Example VB.NET
Imports Ultra
Dim GENERAL As New Scan.General ' Instantiate class
Dim CONTROL As New Scan.Control ' Instantiate class
GENERAL.Timeout = 30
CONTROL.CommitChanges()
' Save Changes to the Scanner Configuration