13.2
C
HANGING THE
A
CTIVE
S
CANNER
Support for a windows message that changes the active
scanner (
WM_SELECT_SCANNER
) has
been implemented. This message allows the caller to set the active SocketScan scanner in one of
three ways.
The format is:
Select the next scanner (wraps around after the last scanner). This only selects scanners with
software-only triggers:
SendMessage(socketScanWnd, WM_SELECT_SCANNER, 0, 0);
Select the specified scanner handle:
SendMessage(socketScanWnd, WM_SELECT_SCANNER, 2, 0);
Select the first scanner of the specified scanner type:
SendMessage(socketScanWnd, WM_SELECT_SCANNER, 0, SCANNER_CHS);
1) If scanner and scannerType are both zero, select the next scanner
2) If scanner is non-zero, select the scanner with that handle
3) If scannerType is not SCANNER_NONE (0), select the first scanner of that
type
SelectNext.exe has been precompiled and included in the SocketScan build. You can assign
SocketScan.exe to one PDA button and SelectNext.exe to a second PDA button. This allows you to
trigger the "selected" scanner and advance to the next scanner. In case of the RFID-Scan card the
SelectNext button will toggle between RFID and CFSC scanners.
If the CHS is also enabled it will not be included in the toggle since it has a hardware trigger. (The
CHS can be made the "selected" device using the SocketScan menu and then the PDA button
would remotely trigger the CHS.)
April 8, 2010
Page 77
Document#: 6410-00147 K
Revision 2.28