Worth Data 7000 Programming Manual

Portable radio frequency terminal
Hide thumbs Also See for 7000:

Advertisement

Quick Links

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 7000 and is the answer not in the manual?

Questions and answers

Summary of Contents for Worth Data 7000

  • Page 2 Table of Contents How The System Works Before You Begin Properties Methods Events...
  • Page 3: How The System Works

    How The System Works The RF Terminal has a 6x24 LCD screen and up to 99 voice messages which can be activated by the host user program. Messages from the host user program are written to the serial port to which the applicable Base Station is attached.
  • Page 4: Hardware Failures

    Forgetting to program for these error conditions is a common mistake. Even though you think your code • will never make a mistake, take advantage of the feedback that the Base Station provides. Parse the Returned Strings thoroughly. Don't assume anything about the next response from the Base •...
  • Page 5: Programming Considerations

    Let's say your operator is SIGNED ON and decides it's time to take a break. Instead of pressing the F1 • key to SIGN OUT, he presses the OFF key. Pressing the OFF key is OK (it will SIGN him OUT) but there is a delay until the SIGN OUT is acknowledged.
  • Page 6 associated SignIn event and a given terminal should not be allowed to SignIn twice without an intervening SignOut. Multiple SignIns from one terminal without appropriate SignOuts indicate either: 1. A terminal going out of range and having its power cycled before returning within range 2.
  • Page 7 ComDeviceName Valid values: COM1-COM16 Definition: This is the serial port that this instance of the control will use. If you have more than one base station, drop in another Wdterm control and set its ComDeviceName for your other COM port(s). ComBaudValue Valid values: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200.
  • Page 8 Methods Methods are commands that you issue to the WDterm control. All of the "Inputxxx" commands cause the terminal to wait for operator input. Note that your development environment may show more available methods for the WDterm control than are listed here.
  • Page 9 If you try to send prompt or display text longer than this, it will be truncated and an error code is generated (see CheckError). Must be followed by a "SendFormat" method call and then an "Inputxxx" method call to take effect. SendFormat (15-Line Terminal Only) Parameters: FG, BG...
  • Page 10 pressing the end key on the terminal. A termID+CR will be sent to the host. FG and BG are ForeGround and BackGround colors for the 7001 (15-line) terminal (See Color Codes). InputYesNo (All Terminal Versions) Parameters: line, position, prompt InputYesNoColor (15-Line Terminal Only) Parameters: line, position, prompt, FG, BG Function: This instructs the ActiveTerminal to display the prompt at line and position and wait for a Yes (Enter key...
  • Page 11 SendDisplay (All Terminal Versions) Parameters: line, position, prompt SendDisplayColor (15-Line Terminal Only) Parameters: line, position, prompt, FG, BG Function: This instructs the ActiveTerminal to display the prompt at line and position. Must be followed by an "Input" method call to take effect. FG and BG are ForeGround and BackGround colors for the 7001 (15-line) terminal (See Color Codes).
  • Page 12 OutputRaw (All Terminal Versions) Parameters: data Function: This allows you to override all of PromptCOM’s Input methods (or any other method, for that matter) and send whatever data you want to the Base Station. This is most useful for adapting old code uses the PromptCOM DLL to use the new ActiveX system.
  • Page 13 Events WDterm events event event handler occur when a specific condition is met. When an is "fired", an 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.
  • Page 14 OnTermSequenceError Data passed: terminal Event: The one-for-one host prompt/terminal response protocol has been violated. The host cannot send a second Input command until it has received a response from the first Input command. If a base station receives 5 sequence errors in a row, a Host Logic error is generated and the base shuts itself down. While PromptCom/ActiveX will intercept and prevent most logic errors, they are still possible so you should implement this event handler! OnTermIllegalCommand...
  • Page 15 End key, this event will not fire. See the programming section in the RF Terminal manual for details. OnTermSearchKey Data passed: terminal The SEARCH button has been pressed on a terminal. You must issue another Input method call before Event: WDterm can respond to another keypress on the terminal.

Table of Contents