User's Manual

Table Of Contents
6-16
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. This is normal. You may ignore
methods you see that are not listed here.
Important: When your application starts up, the serial port is "closed". You must
call OpenDevice before other method calls will work.
Except for the ReInitAll method, all methods use the ActiveTerminal property to
identify the terminal to use.
OpenDevice
Function: Opens the communications (serial) port. This must be
called before any of the methods described below. Make
sure to set all Properties as desired before calling this
method (except ActiveTerminal or Quiet).
CloseDevice
Function: Closes the communications (serial) port. This must be
called before changing any of the Property settings (except
ActiveTerminal or Quiet). When your application starts
up, the serial port is "closed". You must call OpenDevice
before other method calls will work.
InputAny
Parameters: line, position, prompt, shifted, timestamped
Function: This instructs the ActiveTerminal to display the prompt at
line and position and wait for data to be entered from either
terminal keypad or scanner. If shifted is set to "true", the
terminal will start in shifted mode. Timestamped appends a
(hhmmss) prefix to the returned data.
InputKeyBd
Parameters: line, position, prompt, shifted, timestamped
Function: This instructs the ActiveTerminal to display the prompt at
line and position and wait for data to be entered from the
terminal keypad only. If shifted is set to “true”, the
terminal will start in shifted mode. Timestamped appends a
(hhmmss) prefix to the returned data.
InputScanner
Parameters: line, position, prompt, allowbreakout, timestamped
Function: This instructs the ActiveTerminal to display the prompt at
line and position and wait for data to be entered from the