Worth Data user manual Programming for the 802 RF Terminal, Introduction

Page 38

Chapter 6

Programming for the 802 RF Terminal

The programming support offered for the 802 RF Terminal is an ActiveX drop- in component. Every necessary function is defined - you just complete the code for each function.

The ActiveX component functions as a Server for managing data traffic to and from one or more terminals (your “terminal network”) and as an interface for your host application. There is no other software required, besides this control and your host application, to run a terminal network.

Introduction

It is important to note that creating working programs for the 802 Terminal requires significant programming skills. In order to create a working application you will not only need to be familiar with a programming language such as Visual Basic or Delphi or C++; you will need to be experienced and comfortable building real applications with one of these (or similar) programming environments.

You should be familiar with the concepts of objects, methods, event handlers, properties, scope, arrays, pointers, variable and value parameter passing, etc.

Database connectivity, data structures, and state management techniques are key to creating a program that can work with multiple terminals.

If you do not understand the references mentioned here and the implications of the pseudo code illustrations, you may not have the skills necessary to create a working application using the 802 Terminal WD802Term ActiveX programming tool.

What follows are just examples to get you started and show some basic technique. There are lots of different ways to do this and it is possible to create sophisticated transactions that intelligently instruct the terminal operator and collect complex data.

Objects, Properties, Methods, and Events

The programming model for the 802 Terminal is based on the WD802Term ActiveX component. This component is an "object" that is embedded in your application that you build using a compatible programming environment such as Visual Basic or Delphi.

The WD802Term "object" has a number of methods, event handlers, and properties that it publishes (makes available) to your program.

Properties are generally initialization and configuration settings that you set once when your application starts. Examples are ServerActive and LogFileName.

6-1

Image 38
Contents February 2006 Worth Data Inc Table of Contents Appendix C Appendix aAppendix B Appendix DUsing the RF Terminal keypad… InstallationInstallation Tips ComponentsPage Mm/dd/yy hhmm Battery Life IndicatorFinish, Sign Off Change Batteries Hit Any Key Recharging the batteries Terminal Menu FunctionsTo change the AA batteries Checking Batteries Please Wait………Opening screen can be bypassed upon power up. See Chapter Setup Mode Site SurveyInstalling the 802 Terminal Utilities Software RF Terminal Default Settings RF System SetupRF Terminal Setup Default RF Terminal Configuration Using the bar code RF Terminal Setup MenuTerminal Voice Operations-2 Using the keypad to setup the RF TerminalRF Setup Batteries--4 BarCodes RS232RF Setup Group you will find the parameterServer IP Address RF Terminal Setup ParametersDevice IP Address Subnet MaskControl Keys Only AuthenticationWEP Encryption Key Skip Opening Screens LCD Backlight Display ModeBacklight Duration Speaker and Headphone Volume Controls Enter 0-9 for Volume Control Current Value isKey Current Value Automatic Check BackCode 3 of 9 Code UPC/EAN Code ID character is transmitted in front of the bar code data Codabar5 Code 5 Length MSI and PlesseyBatteries RSS-14Beep Tone Display of Year Set DateSet Time Laser Scanner Options Voice Message PartitionsShut Down Time 303015Reset Aiming Dot DurationData Bits Baud RateParity Stop BitsLittle more in depth… Operational TheoryBasic RF System communications… Looking for Dhcp Server Please WaitWaiting for Prompt From Host Computer Can I change a prompt after it has been sent? Page Performance Issues Evaluating your area of planned operation65% Ssid80% 35%Page Page Before you begin programming… Hardware Failures Operator ErrorsFailure Planning Objects, Properties, Methods, and Events Programming for the 802 RF TerminalIntroduction Go to location Press enter when ready Pick Item YY qty N Scan barcode Enter Qty Picked WD802Term/ActiveX Programming ConsiderationsServer Communications Network SetupServer Shut Down Due to Host Logic Error WD802Term.InitializeServer WD802Term.ServerActive = TrueTerminal Tracking Control Keys for Possible ProgrammingTest For Good Communication 999 Concepts WD802Term ActiveXProperties WD802Term ActiveX Any valid file path and name 5000-65536True, False Through 2GBLine, position, prompt, shifted, timestamped Methods WD802Term ActiveXNone Line, position, promptData Entry while scanning with the integrated laserLine, position, prompt, shifted Special Considerations Msgnum LineCount TermNumber Terminal, data Events WD802Term ActiveXTerminal One-for-one host prompt/terminal response OnTermLeftArrow Zebra Cameo Printer Portable PrintersCameo and QL 320 Common Information Zebra QL 320 Printer Track 1&2Part Number Description Price Roll Page Voice Message Operations Why Use Voice Messages and Prompts?Tips for Using Voice Prompts Programming Voice Messages Terminal Setup-1 Voice Operations----2RF Terminal’s Voice Message Mapping KEY R/P? Recording and Playback of Voice MessagesCloning Master Cloning Receiver Default Voice Messages End of Cloning Hit Any Key Recv Setup/Voice Please WaitXmit Setup/Voice Please Wait Page System Test TroubleshootingGeneral Considerations Radio TestXXXBAT-zz% Meaning Action Required Terminal Error MessagesMessage Unit won’t power up with batteries good batteries Troubleshooting specific problemsRF Terminal Problems My response time is poorReader wont beep when I try to read bar codes Problems reading Bar CodesGet 6 beeps when the RF Terminal powers up Have very poor read rates when scanning bar codesIf you have a problem… Worth Data Inc Swift St Santa Cruz, CA 95060Remember Printer Pin-outsLaser and CCD Page Firmware Download via Radio Link Firmware UpgradesTerminal Firmware Upgrades Enter Firmware Rev Number 3 digits Serial Firmware Download for a TerminalFailsafe Firmware Download for a Terminal Code 39 Specifications C39+ 2 + 3 + 33 + 34 + 35 = Code 39 Advanced Features and FunctionsMod 43 Check Character 108/43 = 2 with a RemainderFull Ascii Extension to Code Clear Enter Accumulate ModeStart/Stop Character only Code 93 Specifications Page Codabar Specifications Codabar start/stop transmissionPage Code 128 Specifications UCC-128/ EAN-128UCC-128 Shipping Container Code Even Odd Interleaved 2 of 5 Code SpecificationsInterleaved 2 of 5 Mod 10 check digit calculation + 1 =60 57 = + 9 x 3 =+ 48 = 019873UPC / EAN Specifications Isbn Specifications Supplemental codesUPC/EAN checksum character Checksum calculation for UPC-A, EAN-13 and EAN-8UPC-E Checksum Calculation 01234500006+ 6 + 7 + 0 = MSI/Plessey Specifications835 x 2 = + 4 + 14 =+ 12 + 32 + 35 + 30 + 28 + 6 + 12 + 36 = 9434578424,5,6,7,2,3,4,5,6,7 195/11 = 17 remainderHow to scan a bar code Laser and CCD ScannersAiming the Laser Dot To return to the default 2-second beam, scanLaser Options To return to the single decode beam, scanDifficult Code 39 Reading Page Using the Scan Stand Page Laser Scanners Optional FeaturesCCD Scanners LI50 Linear Imager ScannerPSC Long Range Laser Laser AccessoriesLZ400 Laser Scanner H11 Laser HolderT46 Holster for RF Terminal RF Terminal Cases and HolstersF41 Leather RF Terminal Carrying Case Rubber Boot for RF Terminal Ascii Code Equivalent Table BELPage Display Character Code Mapping Page RF Terminal Setup Menu UPC/EANDisable Codabar Ssid Resets current individual parameter Back to default settings Full Ascii Menu 056 057 058 059 060 061 062 063 064 065 066 067 +T* *+U* *+V* *+W Page Index EDI Label Code 4 Printer Setup Mode Upgrading firmware in Base,Relay or