The SCAN_SetReaderParams Error occured when using SMDK (SymbolMobility Development Kit)1.5 for .NET

  • Thread starter Thread starter Fuc
  • Start date Start date
F

Fuc

hi experts,

We are using the Symbol MC9090G scanners, and use the symbol SMDK 1.5
for .NET to develop the WinCE form application, the tools we are using
is VS2005 professional and C#.

We are using Symbol.Barcode namespace class to read barcode and do
some logic etc. the code just like:

Symbol.Barcode.Reader _MyReader = new Reader();
....
_myReader.Actions.Enable();
....
_myReader.readNotify += (Some EventHanlder)
....
_myreader.Actions.Read();

the code above is very similar with the SMDK 1.5 sample
CS_ScanSample1. all is ok on one scanner, but, on the other scanner
it always prompt the error:
"Error
<AppName>
OperationFailureException
SCAN_SetReaderParams
At
Symbol.Barcode.ReaderParams.SetReaderParams()
At Symbol.Barcode.Actions.Read()
At <AppName>.sunWMSCycleCountDirectives.selScanLocation()
At System.Windows.Forms.Control.OnGotFocus()
At System.Windows.Forms.Control.WnProc()
At System.Windows.Forms.Control_InternalWnProc()
At Microsoft.AGL.Forms.WL.SetFocus()
At System.Windows.Forms.Control.Focus()
At <AppName>.sunWSCycleCountDirectives.selAsile_Modified()
At System.Windows.Forms.ListControl.OnSelectedValueChanged()
At System.Windows.forms.ListControl.OnSelectedIndexChanged()
At System.Windows.Forms.ComboBox.onSelectedIndexChanged() "

I don't know why this come up. there is some differences between two
scanners.
the good one 's OS Version: 05.01.0476, OEM name: SYMBOL MC9090G, OEM
Version: 01.35.0002, IPL version:01.43.441; and other one's OS
version: 05.00.000 , OEM Version:01.20.0000, IPL Version:01.42.440;

I'm not sure if this system little difference make it.

Any help is highly appreciated!! and sorry for some rusty english.

Thanks,
Andy
 
It certainly appears to be something specific to the Symbol functionality
and so you may need to contact Symbol regarding the issue. If the two
devices have different ROM versions you could investgate whether it is
possible to upgrade the older device to the same version as the one which is
working for you.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility
 
Hi Fuc,

I also get the same problem, and already fix it.
The Barcode reader I use is Symbol MC3090.

It must be conflict between your program and DataWedge.
DataWedge is Symbol software for scanning data, and it will initialize the
reader.
The program you write is already including the SMDK, and it will also
initialize the reader.
The error SCAN_SetReaderParams will show because the reader is initialized
twice.

You have to remove DataWedge :
1.There is an triangle icon on the task bar at the bottom of desktop. Click
it and choose Exit.
2.Delete the DataWedge.run file under [My Device/Application/Startup] folder.

Gordon Liao
 
Hi,

I'm having the same problems running the symbol barcode library on a
MC50.

The application is running in VB.Net 2003 and I get an application
error at: SCANNING._MYREADER.ACTIONS.ENABLE()

In their sample apps, let alone my own app!

I have been using the scanwedge, but wanted to use the library
approach.

Do you have any ideas?

I have made sure the beam is off and the scanwedge utility is not
running.

Help!

David Wellan
 
It certainly appears to be something specific to theSymbolfunctionality
and so you may need to contactSymbolregarding the issue. If the two
devices have different ROM versions you could investgate whether it is
possible to upgrade the older device to the same version as the one whichis
working for you.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility














- Show quoted text -

Hi,

I'm having the same problems running the symbol barcode library on a
MC50.

The application is running in VB.Net 2003 and I get an application
error at: SCANNING._MYREADER.ACTIONS.ENABLE()

In their sample apps, let alone my own app!

I have been using the scanwedge, but wanted to use the library
approach.

Do you have any ideas?

I have made sure the beam is off and the scanwedge utility is not
running.

Help!

David Wellan
 
Hi Fuc,

I also get the same problem, and already fix it.
TheBarcodereader I use isSymbolMC3090.

It must be conflict between your program and DataWedge.
DataWedge isSymbolsoftware for scanning data, and it will initialize the
reader.
The program you write is already including the SMDK, and it will also
initialize the reader.
The error SCAN_SetReaderParams will show because the reader is initialized
twice.

You have to remove DataWedge :
1.There is an triangle icon on the task bar at the bottom of desktop. Click
it and choose Exit.
2.Delete the DataWedge.run file under [My Device/Application/Startup] folder.

Gordon Liao

Hi,

I'm having the same problems running the symbol barcode library on a
MC50.

The application is running in VB.Net 2003 and I get an application
error at: SCANNING._MYREADER.ACTIONS.ENABLE()

In their sample apps, let alone my own app!

I have been using the scanwedge, but wanted to use the library
approach.

Do you have any ideas?

I have made sure the beam is off and the scanwedge utility is not
running.

Help!

David Wellan
 
Hi,

I'm having the same problems running the symbol barcode library on a
MC50.

The application is running in VB.Net 2003 and I get an application
error at: SCANNING._MYREADER.ACTIONS.ENABLE()

In their sample apps, let alone my own app!

I have been using the scanwedge, but wanted to use the library
approach.

Do you have any ideas?

I have made sure the beam is off and the scanwedge utility is not
running.

Help!

David Wellan
 
Back
Top