I have to trigger an integrated (in PDA) barcode scanner.
Is there any trick to do this with basic4ppc ?
below just what the sample in C++ does (just extracted 2 rows to better understand) the first row switch on laser-scanning after 200 m/Sec the second row switch off laser-scanning.
I'm just looking to access and trigger status of such I/O by basic4ppc.
--------------------------------
DeviceIoControl(pscanner->hSerial, IOCTL_SET_SCANTRIGER, NULL, 0, NULL, 0, NULL, NULL);
Sleep(200);
DeviceIoControl(pscanner->hSerial, IOCTL_CLR_SCANTRIGER, NULL, 0, NULL, 0, NULL, NULL);
--------------------------------
Is there any trick to do this with basic4ppc ?
below just what the sample in C++ does (just extracted 2 rows to better understand) the first row switch on laser-scanning after 200 m/Sec the second row switch off laser-scanning.
I'm just looking to access and trigger status of such I/O by basic4ppc.
--------------------------------
DeviceIoControl(pscanner->hSerial, IOCTL_SET_SCANTRIGER, NULL, 0, NULL, 0, NULL, NULL);
Sleep(200);
DeviceIoControl(pscanner->hSerial, IOCTL_CLR_SCANTRIGER, NULL, 0, NULL, 0, NULL, NULL);
--------------------------------