Posts

Showing posts with the label TWedge Scripts

How to use Microvision ROV Bluetooth Barcode Scanner

Image
Dealing with a Microvision ROV barcode scanner can be quite tricky. Of course, the device is scanning bar-codes immediately. But the data is sent in a special format and requires a confirmation by the receiver. That's the reason for this blog entry. By default the ROV scanner (in our case a MS2200-BT) buffers all scanned bar codes internally. The receiver (e.g. your PC or smartphone) is required to confirm each received bar code to delete it from the ROV's memory. If such a confirmation is missing the ROV scanner sends the same bar code over and over. The ROV scanner appends a 4 digit serialization number to each scanned bar-code. This serialization number is sent (along with the barcode data) to the receiver. The receiving device is required to acknowledge the bar-code by sending back the serialization number along with an appended ACK character (hex 06) to the ROV scanner. Now let's demonstrate how to configure TEC-IT's software wedge TWedge to work with a Mi...

Reading RFID Tags with TWedge

Image
TEC-IT's data acquisition software TWedge allows an easy implementation of RFID controller protocols. TWedge can be adjusted to communicate with RFID controllers in a bi-directional way. Reading and processing tag identifiers is as easy as reading/writing tag data! The following TWedge script can be used to read RFID Tag IDs from EMS Datalogic RFID Controllers (utilizing the ABx Fast Protocol). The following script performs the following functions: 1) Query the RFID controller by pressing the hotkey 2) When data is received test it for a valid response 3) Display data in MessageBox Try it yourself - Download the software wedge for free ! Keep in mind: V2.3 or higher is required! Global Helper Functions HEX Conversion function encodeHex(input) { hexOutput = ""; for (i=0; i hexOutput = hexOutput + ' ' + Dec2Hex(input.charCodeAt(i)); } return hexOutput; } function encodeDec(input) { decOutput = ""; for (i=0; i decO...

Bluetooth Wedge Software

Image
Want to capture data from Bluetooth devices? Then consider the software wegde TWedge . The latest version of TWedge supports direct Bluetooth connections - without virtual COM ports! Just select the Bluetooth device of interest in the Interface dialog or enter the Bluetooth address directly (see screenshot). The software wedge TWedge connects to the device automatically and captures all data reliable. What is the great advantage of direct Bluetooth support? The answer is easy - interrupted Bluetooth connections (e.g. because your bar code scanner is out of range) will be reconnected automatically. Check out the new version TWedge V2.2: Download the Bluetooth Software Wedge .

Using a Software Wedge with Citrix XenApp

Image
The Requirement: Recently a customer of TEC-IT reported some troubles when using the software wedge TWedge on a tablet PC (running XP-based Windows Embedded) in combination with Citrix XenApp v11.0.0.x. The customer was looking for a solution to connect a Bluetooth barcode scanner (from Intermec) with a legacy database application. Scanned data should be transferred to an input field followed by a TAB key. The database application in question is hosted by an ASP and provided to the tablet PC via XenApp from Citrix. The Problem: The initial problem was that the scanned barcode data was not reliable transferred to the database application - scanned data was not transferred completely. The Solution: The clipboard-functionality of TWedge solved the problem. Instead of simulating single keystrokes based on the scanned data the barcode value is copied into the clipboard and then pasted to the Citrix client. Thereafter a TAB key is simulated. One very important point in this approach is to u...

How to Suppress Duplicate Barcodes or RFID Tags with the Software Wedge?

Image
The Problem: Maybe you are familiar with this scenario: You are connecting a barcode scanner, an electronic scale or an RFID reader to your computer. When capturing data it turns out that the device is sending identical values multiple times . This happens if the user scans a barcode repeatedly, a scale sends the weight of the item periodically or if a RFID reader reports the value of a RFID tag at regular intervals. The Solution: TWedge provides a very flexible and elegant solution to this problem. The software wedge can be customized to suppress multiple, identical values easily: Just save the last data value received from the device and compare it with the current one. Forward the device data to target application only if these values are not identical. Here is the script: The Software Wedge Script: OnStart() is the perfect place to initialize the last received data value ( sLastData ) with a null value. OnStart is executed when device communication is initialized (e.g. the seria...