MK500 Auto Trigger in PocketBrowser

J John Reisinger 3 years 6 months ago
7 1 0

Hi Everyone!
I am trying to set up an MK500 laser-based micro kiosk with PocketBrowser.
I have found how to set an imager-based MK500 to presentation mode, but I can't see how to set the auto trigger for the laser scanner.
Is it possible to set the auto trigger through PocketBrowser, or will I need to use a custom-written application or datawedge?
 
Thanks,
--John

Please Register or Login to post a reply

1 Replies

Y Yanis Dalabiras

Hi John,

There is a code snippet in the PocketBrowser 3.1 help file for this (and earlier, I think it was introduced in 2.21):

The documentation is not online so I'll copy it here:

 
 
 

 
    var Generic = new ActiveXObject("PocketBrowser.Generic");

    function doSoftScan()
    {
   Generic.InvokeMetaFunction('scanner', 'start');
    }

    function doScan(data)
    {
   bcode.innerHTML = data;
   doSoftScan();
}
 
 

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