Worth Data RF Terminal 7000 User Manual

Page 55

Advertising
background image

ComStopBits

Valid values: 1, 2
Definition: This is a serial port setting and must match the base station setting. WDterm may allow

other settings but those listed here are the only ones compatible with current version
base stations.

Quiet

Valid values: True, False
Definition: If

Quiet

is set to True then any status and error message generated by WDterm will be

suppressed.

Methods – ActiveX Object

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

InputAnyColor (15-line terminal only)

Parameters: line, position, prompt, shifted, timestamped,FG,BG

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.

Color Codes for 7001
(15-line) Terminal
0 -

aqua

1 - black
2 -

blue

3 -

fuchsia

4 -

gray

5 -

green

6 -

lime

7 -

maroon

8 -

navy

9 -

olive

10 -

purple

11 -

red

12 -

silver

13 -

teal

14 -

white

(white)

15 -

yellow

Advertising