Page 1 of 1

Barcode and RFID Trigger Library

Posted: Mon Dec 19, 2011 3:56 pm
by cdmmaui
Dear Antonio,

I am hoping to use FWPPC for a project, however my biggest problem is I need to be able to incorporate control of the scanner trigger for scanning bar codes and/or RFID tags. The particular unit I am using has capability for GPS, Image capture, bar code, RFID and signature capture. The unit is a Motorola MC75A RFID running Windows CE. Motorola is offering a solution via RHOElements which is a framework that incorporates calls to Javascript. How do I incoporate these features to FWPPC? Below is a simple example from RHOElements.

<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE>Test</TITLE>
<link type="text/css" rel="stylesheet" href="app.css" />
<META HTTP-Equiv="FileTransfer" Content="TransferEvent:url('Javascript:alert('%s')'); Transfer">
<script type="text/javascript">
function uploadToFTP()
{
alert('Process Start');
FileTransfer.source = Source:url('file://\\abc\\transfer\\file.txt');
FfileTransfer.destination = url('ftp://-----:------@0.0.0.0/file.txt');
FileTransfer.transfer();
window.location = "index.html"
}
</script>
</HEAD>

<body>
<div id="header">
<h1><img id="logo" src="xmit.jpg"></img></h1>
<H2>Transmit Data</H2>
<a href="index.html"><button id="mainButton" class="button" >BACK</button></a>
</div>
<div id="headerBorder"></div>
<button id="transmitButton" class="button" onclick="uploadToFTP();" >Begin</button></a>
</body>
</HTML>

Re: Barcode and RFID Trigger Library

Posted: Sun Feb 05, 2012 6:55 am
by Jon Munro
Darryl,
You will need to use the C Library functions to control the scanner etc. I have done this for the Intermec and Datalogics devices and it works well. Motorola (ex Symbol) looks similar though I haven't needed this yet. The little trick is to poll the device (every 500 millisecs, say) instead waiting for the event or message.
HTH