MK500 + 2D scanner(imager)

A Artur Nadolski 3 years 5 months ago
2 5 0

Hi All, How to control "timeout", "aim - cross cursor", "lamp - illumination", "focus - near/far" using C#? How to enable continuos mode (autotrigger)? Of course I mean direct "talk" to scanner not via DataWedge API. Artur

Please Register or Login to post a reply

5 Replies

E Efkan YILMAZ

From .NET, you access these properties from the Reader Class as:
        ReaderParameters.ReaderSpecific.ImagerSpecific This is equivalent to the IMAGER_SPECIFIC structure for setting the Imager Specific parameters in C++.  While it should be in earlier versions of the EMDK for .NET, I'm using version 2.3 at the moment and this class can be found in the documentation under the Barcode Assembly. Dave Mohnke

A Artur Nadolski

There is no MKSeries namespace at EMDK2.3. So I'm still waiting for solution...

E Efkan YILMAZ

sorry.... i thought that you are using ver. 2.2
if you're using ver 2.3 you should write something like that:

MyReader.ReaderParameters.ReaderSpecific.ImagerSpecific.IlluminationMode = Symbol.Barcode.ILLUMINATION_MODE.ILLUMINATION_AUTO;

MyReader.ReaderParameters.ReaderSpecific.ImagerSpecific.AimMode =Symbol.Barcode.AIM_MODE.AIM_MODE_RETICLE

focus mode:
               MyReader.ReaderParameters.ReaderSpecific.ImagerSpecific.FocusMode =Symbol.Barcode.FOCUS_MODE.FOCUS_MODE_FIXED
MyReader.ReaderParameters.ReaderSpecific.ImagerSpecific.FocusPosition =Symbol.Barcode.FOCUS_POSITION.FOCUS_POSITION_FAR
MyReader.ReaderParameters.ReaderSpecific.ImagerSpecific.FocusPosition =Symbol.Barcode.FOCUS_POSITION.FOCUS_POSITION_NEAR

if you want to start scanning, write something like this: 
MyReader.Actions.ToggleSoftTrigger()

S Salem Salem

I have the same problem, any one can help me?

E Efkan YILMAZ

you have to use Symbol.MKSeries assembly....

....

private Symbol.MKSeries.Platform platform = new Symbol.MKSeries.Platform();

private Barcode.Barcode barcode1;

.........

For activating scaner:

            platform.ReaderParams.ContinuousTrigger = true;
            barcode1.EnableScanner = true;

For deactivating scaner:

            barcode1.EnableScanner = false;
            platform.ReaderParams.ContinuousTrigger = false;
            platform.Dispose();

.....

CONTACT
Can’t find what you’re looking for?