Worth Data 802 RF user manual Go to location Press enter when ready

Page 39

Methods are how you initiate communication with the WD802Term object. You can request that a prompt be sent to a terminal, map a terminal ID to an IP address, and a variety of other services.

Events are how the WD802Term object initiates communication with your application. You write "event handlers" in your program to respond that respond appropriately when WD802Term "fires" an event that activates its associated event handler. Examples are OnTermSignIn and OnTermData.

Creation of the source code "shell" for an event handler is generally handled by your development environment (IDE for Integrated Development Environment). For example, in Delphi, simply double click in an event field in the Object Inspector; or in VB, from the source code window, select the Object from the pull down list at the top left and then click on the desired event in the Procedures pull down list at the top right.

You will notice that the IDE creates a "skeleton" function (or procedure or sub) in source code that will include any parameters required to retrieve the data delivered to the event handler by the WD802Term object.

It is your job to add functionality to the skeleton event handler that is relevant to your application. It is important to remember to keep event handlers short and efficient. Do not make method calls to WD802Term from within a WD802Term event handler. Instead set up a state management and polling or threading scheme as outlined below.

Signing In, Data Structures, Transactions, and State Management

When a terminal SIGNS ON, it sends a signal to your application via the WD802Term object, which fires the OnTermSignIn event. When the event fires, the terminal has already been assigned an ID number by WD802Term and this ID number is passed to your application in the event handler.

Once it has signed in, the terminal is now waiting for your application to make a call to one of WD802Term's methods that sends a prompt to the terminal. Keep in mind that it is important to keep event handlers short and to try to avoid making method calls from inside an event handler. This brings us to transactions, state management, and data structures

Generally, you will have some kind of transaction process that you will define. Typically a transaction would be defined by a series of prompts and the data returned in response to the prompts.

Here is an example of a series of prompts that represent a transaction. When a transaction is completed, it repeats as controlled by the host application

Go to location XX

Press enter when ready:

6-2

Image 39
Contents February 2006 Worth Data Inc Table of Contents Appendix D Appendix aAppendix B Appendix CComponents InstallationInstallation Tips Using the RF Terminal keypad…Page Battery Life Indicator Finish, Sign Off Change Batteries Hit Any KeyMm/dd/yy hhmm Checking Batteries Please Wait……… Terminal Menu FunctionsTo change the AA batteries Recharging the batteriesSetup Mode Site Survey Opening screen can be bypassed upon power up. See ChapterInstalling the 802 Terminal Utilities Software RF System Setup RF Terminal SetupRF Terminal Default Settings Using the bar code RF Terminal Setup Menu Default RF Terminal ConfigurationRS232 Using the keypad to setup the RF TerminalRF Setup Batteries--4 BarCodes Terminal Voice Operations-2Group you will find the parameter RF SetupSubnet Mask RF Terminal Setup ParametersDevice IP Address Server IP AddressAuthentication WEP Encryption KeyControl Keys Only LCD Backlight Display Mode Backlight DurationSkip Opening Screens Enter 0-9 for Volume Control Current Value is Speaker and Headphone Volume ControlsAutomatic Check Back Code 3 of 9 CodeKey Current Value UPC/EAN Code Codabar 5 CodeID character is transmitted in front of the bar code data MSI and Plessey 5 LengthRSS-14 Beep ToneBatteries Set Date Set TimeDisplay of Year 303015 Voice Message PartitionsShut Down Time Laser Scanner OptionsAiming Dot Duration ResetStop Bits Baud RateParity Data BitsLooking for Dhcp Server Please Wait Operational TheoryBasic RF System communications… Little more in depth…Waiting for Prompt From Host Computer Can I change a prompt after it has been sent? Page Evaluating your area of planned operation Performance Issues35% Ssid80% 65%Page Page Before you begin programming… Operator Errors Failure PlanningHardware Failures Programming for the 802 RF Terminal IntroductionObjects, Properties, Methods, and Events Go to location Press enter when ready Pick Item YY qty N Scan barcode Enter Qty Picked Programming Considerations WD802Term/ActiveXWD802Term.InitializeServer WD802Term.ServerActive = True Network SetupServer Shut Down Due to Host Logic Error Server CommunicationsControl Keys for Possible Programming Test For Good CommunicationTerminal Tracking Concepts WD802Term ActiveX Properties WD802Term ActiveX999 Through 2GB 5000-65536True, False Any valid file path and nameLine, position, prompt Methods WD802Term ActiveXNone Line, position, prompt, shifted, timestampedEntry while scanning with the integrated laser Line, position, prompt, shiftedData Special Considerations Line CountMsgnum TermNumber Events WD802Term ActiveX TerminalTerminal, data One-for-one host prompt/terminal response OnTermLeftArrow Portable Printers Cameo and QL 320 Common InformationZebra Cameo Printer Track 1&2 Zebra QL 320 PrinterPart Number Description Price Roll Page Why Use Voice Messages and Prompts? Tips for Using Voice PromptsVoice Message Operations Terminal Setup-1 Voice Operations----2 RF Terminal’s Voice Message MappingProgramming Voice Messages Recording and Playback of Voice Messages Cloning Master Cloning ReceiverKEY R/P? Default Voice Messages Recv Setup/Voice Please Wait Xmit Setup/Voice Please WaitEnd of Cloning Hit Any Key Page Radio Test TroubleshootingGeneral Considerations System TestXXXBAT-zz% Terminal Error Messages MessageMeaning Action Required My response time is poor Troubleshooting specific problemsRF Terminal Problems Unit won’t power up with batteries good batteriesHave very poor read rates when scanning bar codes Problems reading Bar CodesGet 6 beeps when the RF Terminal powers up Reader wont beep when I try to read bar codesWorth Data Inc Swift St Santa Cruz, CA 95060 If you have a problem…Printer Pin-outs Laser and CCDRemember Page Firmware Upgrades Terminal Firmware UpgradesFirmware Download via Radio Link Serial Firmware Download for a Terminal Failsafe Firmware Download for a TerminalEnter Firmware Rev Number 3 digits C39 Code 39 Specifications108/43 = 2 with a Remainder Code 39 Advanced Features and FunctionsMod 43 Check Character + 2 + 3 + 33 + 34 + 35 =Full Ascii Extension to Code Accumulate Mode Start/Stop Character onlyClear Enter Code 93 Specifications Page Codabar start/stop transmission Codabar SpecificationsPage UCC-128/ EAN-128 Code 128 SpecificationsUCC-128 Shipping Container Code + 1 = Interleaved 2 of 5 Code SpecificationsInterleaved 2 of 5 Mod 10 check digit calculation Even Odd019873 + 9 x 3 =+ 48 = 60 57 =UPC / EAN Specifications Supplemental codes Isbn SpecificationsChecksum calculation for UPC-A, EAN-13 and EAN-8 UPC/EAN checksum character01234500006 UPC-E Checksum Calculation+ 4 + 14 = MSI/Plessey Specifications835 x 2 = + 6 + 7 + 0 =195/11 = 17 remainder 9434578424,5,6,7,2,3,4,5,6,7 + 12 + 32 + 35 + 30 + 28 + 6 + 12 + 36 =Laser and CCD Scanners How to scan a bar codeTo return to the single decode beam, scan To return to the default 2-second beam, scanLaser Options Aiming the Laser DotDifficult Code 39 Reading Page Using the Scan Stand Page LI50 Linear Imager Scanner Optional FeaturesCCD Scanners Laser ScannersH11 Laser Holder Laser AccessoriesLZ400 Laser Scanner PSC Long Range LaserRF Terminal Cases and Holsters F41 Leather RF Terminal Carrying CaseT46 Holster for RF Terminal Rubber Boot for RF Terminal BEL Ascii Code Equivalent TablePage Display Character Code Mapping Page UPC/EAN RF Terminal Setup MenuDisable 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