Worth Data 802 RF user manual Events WD802Term ActiveX, Terminal, data

Page 51

Events – WD802Term ActiveX

WD802term events occur when a specific condition is met. When an event is "fired", an event handler function in your application is called.

Though the details of exactly how it is done varies from one programming environment to the next, the source code skeletons for the various event handlers are automatically generated and inserted into your source code for you. See the samples for more specific information.

Each event passes relevant information to your event handler function. For example, OnTermData passes the data that was keyed or scanned into the terminal.

Terminal ID is always passed as 0-999.

Once you have the event handler skeletons, you can proceed to add whatever functionality you desire to each event.

Before any WD802term events will fire, you must make sure to turn the Server on by calling

WD802Term.InitializeServer

WD802Term.ServerActive = True

OnServerActivate

Data passed:

none

Event:

Called when the ServerActive property is set to

 

True immediately after the Server begins listening

 

for terminals.

OnTermSignIn

 

Data passed:

terminal

Event:

A terminal has signed in. Terminal ID is passed in

 

terminal.

OnTermSignOut

 

Data passed:

terminal

Event:

A terminal has signed out. Terminal ID is passed in

 

terminal.

OnTermData

 

Data passed:

terminal, data

Event:

A terminal has sent data in response to an Input

 

method call.

6-14

Image 51
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