4-20 Programmer’s Manual
Example C#
using Ultra;
Ultra.Scan.D2OF5 D2OF5 = new Ultra.Scan.D2OF5 ();
// Instantiate class
D2OF5.Enable = TRUE; // Enable D2OF5 Symbology
D2OF5.FixedLength = FALSE; // Variable Length Enabled
D2OF5.Length1 = 12; // Variable Lenght1 = 12
D2OF5.Length2 = 0; // Variable Lenght1 = 0
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
// Instantiate class
CONTROL.CommitChanges(); //--Save Changes to the Scanner
// Configuration
Example VB.NET
Imports Ultra
Dim D2OF5 As New Scan.D2OF5 ' Instantiate class
Dim CONTROL As New Ultra.Scan.Control ' Instantiate class
D2OF5.Enable = TRUE; ' Enable D2OF5 Symbology
D2OF5.FixedLength = FALSE; ' Variable Length Enabled
D2OF5.Length1 = 12; ' Variable Lenght1 = 12
D2OF5.Length2 = 0; ' Variable Lenght1 = 0
CONTROL.CommitChanges()
' Save Changes to the Scanner Configuration