There are 2 terminals Motorola MC9090 and Motorola MC9190. Initially, an application was written under MC9090 that reads barcodes and works with SQL DB. On the MC9090, everything works fine; on the MC9190, the problem is that I2OF5 type bar code is not readable (min - 6, max - 8). I change the basic values ​​(14 and 10 respectively) with the help of this piece of code (on MS9090):
myReader.Decoders.I2OF5.MinimumLength = 6; myReader.Decoders.I2OF5.MaximumLength = 8; I tried to transfer the full list of parameters like this (already on MC9190):
myReader.Parameters.CodeIdType = CodeIdTypes.None; myReader.Parameters.ScanType = ScanTypes.Foreground; myReader.Decoders.I2OF5.MinimumLength = 6; myReader.Decoders.I2OF5.MaximumLength = 8; myReader.Decoders.I2OF5.Redundancy = true; myReader.Decoders.I2OF5.CheckDigitScheme = I2OF5.CheckDigitSchemes.None; myReader.Decoders.I2OF5.ConvertToEAN13 = false; myReader.Decoders.I2OF5.ReportCheckDigit = false; myReader.Actions.SetParameters(); With such parameters, barcodes are read in Motorol demo applications with a bang, but not in mine.
Did check ala:
if (_scnAPI.Reader.Decoders.I2OF5.Enabled == true) { if (_scnAPI.Reader.Decoders.I2OF5.MinimumLength == 6) { MessageBox.Show("6"); } if (_scnAPI.Reader.Decoders.I2OF5.MaximumLength == 8) { MessageBox.Show("8"); } if (_scnAPI.Reader.Decoders.I2OF5.Redundancy == true) { MessageBox.Show("Redundancy"); } if (_scnAPI.Reader.Parameters.CodeIdType == Symbol.Barcode.CodeIdTypes.None) { MessageBox.Show("CodeType"); } if (_scnAPI.Reader.Decoders.I2OF5.CheckDigitScheme == Symbol.Barcode.I2OF5.CheckDigitSchemes.None) { MessageBox.Show("CheckDigit"); } if (_scnAPI.Reader.Parameters.ScanType == Symbol.Barcode.ScanTypes.Foreground) { MessageBox.Show("foreground"); } } else { MessageBox.Show("App Exit!"); Application.Exit(); } All parameters are transmitted, and it is not clear why the reading does not occur, because I pass on the same parameters for which the demo application reads with a bang ...
I use the staff library Symbol.Barcode, Motorola EMDK 2.8 for .NET, the application itself is written in EMDK 2.4, its version 2.4 is compatible with the 9100 series.